HomeSoftware Heritage

Normalize the get_journal_client() function

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Normalize the get_journal_client() function

make it similar to other get_xxx factory functions we have:

  • make it take a cls first argument (only supports "kafka" for now),
  • take **kwargs as arguments to be passed to the class constructor.

This comes with the following changes in configuration:

  • the config entry for the journal client is now "journal_client" (instead of "journal"),
  • the journal_client config dict must have a "cls" field (only "kafka" being supported for now).

Compatibility should be ensured.

Commit No Longer Exists

This commit no longer exists in the repository.