Page MenuHomeSoftware Heritage

Use bencode for serializing Kafka keys.
AbandonedPublic

Authored by vlorentz on Sep 23 2019, 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 7917
Build 11398: tox-on-jenkinsJenkins
Build 11397: arc lint + arc unit