Page MenuHomeSoftware Heritage

Use unbound methods as callbacks for confluent-kafka.
ClosedPublic

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

Details

Summary

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

Diff Detail

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

Event Timeline

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

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.