[ https://issues.apache.org/jira/browse/KAFKA-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Neha Narkhede resolved KAFKA-870. --------------------------------- Resolution: Fixed Checked in patches to 0.7 and 0.8 > hadoop-producer KafkaRecordWriter writes entire input buffer capacity, even > when intended payload is smaller > ------------------------------------------------------------------------------------------------------------ > > Key: KAFKA-870 > URL: https://issues.apache.org/jira/browse/KAFKA-870 > Project: Kafka > Issue Type: Bug > Components: contrib > Affects Versions: 0.7, 0.8 > Reporter: David Stein > Labels: patch > Attachments: kafka-0.7.patch, kafka-0.8.patch > > > KafkaRecordWriter incorrectly gets the entire buffer capacity of the input > BytesWritable. > If the capacity is larger than the underlying represented byte array, then > the message will be padded with garbage bytes at the end. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira