Forked from
Platform / Development / swh-provenance
245 commits behind, 406 commits ahead of the upstream repository.
-
David Douard authored
the new ProvenanceStorageJournal is a proxy ProvenanceStorageInterface that will push added objects in a swh-journal (typ. a kafka). Journal messages are simple dicts with 2 keys: id (the sharding key) and value (a serialiazable version of the argument of the xxx_add() method). Use the 'kafka' pytest marker for all kafka-related tests (especially used for tox, see tox.ini).
David Douard authoredthe new ProvenanceStorageJournal is a proxy ProvenanceStorageInterface that will push added objects in a swh-journal (typ. a kafka). Journal messages are simple dicts with 2 keys: id (the sharding key) and value (a serialiazable version of the argument of the xxx_add() method). Use the 'kafka' pytest marker for all kafka-related tests (especially used for tox, see tox.ini).
test_provenance_journal_writer_kafka.py 1.30 KiB