When messages are prepared to be sent, first the key/preValue/value objects are encoded to byte arrays and then serialized again via Avro. This becomes a problem when the message size is big. We should avoid this series of serializations and minimize the serialization overhead.
When messages are prepared to be sent, first the key/preValue/value objects are encoded to byte arrays and then serialized again via Avro. This becomes a problem when the message size is big. We should avoid this series of serializations and minimize the serialization overhead.