Page MenuHomeSoftware Heritage

Use bencode for serializing Kafka keys.
Changes PlannedPublic

Authored by vlorentz on Mon, Sep 23, 3:29 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Summary

Unlike msgpack, bencoding is deterministic, which is needed for objects
to have a unique key in Kafka.

This commit also removed kafka_to_key, because it's unused (keys can
be rebuilt from a message's value.

Depends on D2021

Test Plan

wait for D2021 to be merged and released, then tox

Diff Detail

Repository
rDJNL Journal infrastructure
Branch
bencode-key
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7919
Build 11402: tox-on-jenkinsJenkins
Build 11401: arc lint + arc unit