HomeSoftware Heritage

Add support for the rdkafka 'stats_cb' config option in get_journal_client

Description

Add support for the rdkafka 'stats_cb' config option in get_journal_client

this options allows to define a callback which will be called once every
'statistics.interval.ms' ms by rdkafka with a bunch of statistics (as a
json string).

See https://github.com/edenhill/librdkafka/blob/master/STATISTICS.md

This allows to define this callback as a string of the form:

"path.to.module:function"

Details

Provenance
douarddaAuthored on Jan 6 2022, 12:07 PM
douarddaPushed on Jan 21 2022, 9:52 AM
Differential Revision
D6884: Add support for the rdkafka 'stats_cb' config option in JournalClient
Parents
rDJNL0d115993e0f1: Remove 'process_timeout' from JournalClient's arguments
Branches
Unknown
Tags
Unknown
Build Status
Buildable 26209
Build 40969: test-and-buildJenkins console · Jenkins