adaptive-alerting icon indicating copy to clipboard operation
adaptive-alerting copied to clipboard

Use MessagePack for serialization

Open djsutho opened this issue 7 years ago • 2 comments

Currently we are using json for data serialization to/from kafka topics.

We should have the option of using MessagePack throughout the system as it has performance benefits and it makes it consistent with the ingest topic which defaults to using MessagePack.

djsutho avatar Nov 05 '18 02:11 djsutho

We have a Kafka serde for MetricData, but we need serdes for the other data types too (e.g. MappedMetricData, Anomaly). MessagePack requires us to hand-craft these on a per-type basis.

williewheeler avatar Nov 06 '18 03:11 williewheeler

Actually might just be able to copy the json implementation and use this https://github.com/msgpack/msgpack-java/tree/develop/msgpack-jackson

djsutho avatar Nov 09 '18 01:11 djsutho