[
https://issues.apache.org/jira/browse/KAFKA-5700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
huxihx resolved KAFKA-5700.
---------------------------
Resolution: Fixed
> 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
> Priority: Critical
> Labels: reliability
> Fix For: 0.11.0.1
>
>
> 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)