Skip to content
Snippets Groups Projects
Antoine R. Dumont (@ardumont)'s avatar
Antoine R. Dumont authored
origin model no longer allows to have type.

Related to f533f62bbf114cfcc29f7c72307c4dfbe99cf048
8ce4c0ba
History

swh-journal

Persistent logger of changes to the archive, with publish-subscribe support.

See the documentation for more details.

Local test

As a pre-requisite, you need a kakfa installation path. The following target will take care of this:

make install

Then, provided you are in the right virtual environment as described in the swh getting-started:

pytest

or:

tox

Running

publisher

Command:

$ swh-journal --config-file ~/.config/swh/journal/publisher.yml \
              publisher

Auto-completion

To have the completion, add the following in your ~/.virtualenvs/swh/bin/postactivate:

eval "$(_SWH_JOURNAL_COMPLETE=$autocomplete_cmd swh-journal)"