Chia-Ping Tsai created KAFKA-7014: ------------------------------------- Summary: Guarantee the byte buffer returned by Serializer is reusable Key: KAFKA-7014 URL: https://issues.apache.org/jira/browse/KAFKA-7014 Project: Kafka Issue Type: Bug Reporter: Chia-Ping Tsai
The byte array returned by Serializer is copied to another ByteBuffer by KafkaProducer so the byte array is reusable actually. If kafka can guarantee this behavior (perhaps doc it on the Serializer), user can design the size-fixed message and then reuse the byte array. -- This message was sent by Atlassian JIRA (v7.6.3#76005)