HomeSoftware Heritage

writer: move the InMemoryJournalWriter from swh.storage in swh.journal

Description

writer: move the InMemoryJournalWriter from swh.storage in swh.journal

and put both JournalWriter implementations in a swh.journal.writer package.
Also move the get_journal_writer() function from storage.

Keep a swh.journal.direct_writer module for bw compat.

This prevents a dependecy loop between swh.storage and swh.journal.

Details

Provenance
douarddaAuthored on Sep 16 2019, 5:04 PM
douarddaPushed on Sep 17 2019, 5:33 PM
Differential Revision
D1992: writer: move the InMemoryJournalWriter from swh.storage in swh.journal
Parents
rDJNL5281dbee50fe: Migrate to confluent-kafka instead of kafka-python
Branches
Unknown
Tags
Unknown
Build Status
Buildable 7821
Build 11248: test-and-buildJenkins