huxihx created KAFKA-5700:
-----------------------------
Summary: producer missed header information when splitting batches
Key: KAFKA-5700
URL: https://issues.apache.org/jira/browse/KAFKA-5700
Project: Kafka
Issue Type: Bug
Components: producer
Affects Versions: 0.11.0.0
Reporter: huxihx
Assignee: huxihx
In `ProducerBatch.tryAppendForSplit`, invoking
`this.recordsBuilder.append(timestamp, key, value);` missed the header
information in the ProducerRecord. Should invoke this like :
`this.recordsBuilder.append(timestamp, key, value, headers);`
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)