Page MenuHomeSoftware Heritage

Use unbound methods as callbacks for confluent-kafka.

Authored by vlorentz on Oct 30 2019, 11:50 AM.



Using bound methods causes consumer.poll() to return None under some
(apparently deterministic but unclear) conditions.

Diff Detail

rDJNL Journal infrastructure
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Oct 30 2019, 11:50 AM
vlorentz updated this revision to Diff 7499.Oct 30 2019, 11:53 AM

remove old methods

Tests are broken because swh-storage needs a release (ping @douardda )

olasd accepted this revision.Oct 30 2019, 11:59 AM
This revision is now accepted and ready to land.Oct 30 2019, 11:59 AM
This revision was landed with ongoing or failed builds.Oct 30 2019, 12:13 PM
This revision was automatically updated to reflect the committed changes.