pub fn encode_message_into(message: &Message, bytes: &mut BytesMut)Expand description
Encodes one producer message directly into an existing aggregate buffer.
This uses the same Java-compatible batch wire layout as encode_message while avoiding a
temporary allocation for every message in a batch.