You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Stein (JIRA)" <ji...@apache.org> on 2013/04/23 02:05:18 UTC
[jira] [Updated] (KAFKA-870) hadoop-producer KafkaRecordWriter
writes entire input buffer capacity, even when intended payload is smaller
[ https://issues.apache.org/jira/browse/KAFKA-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Stein updated KAFKA-870:
------------------------------
Attachment: kafka-0.7.patch
fix for 0.7 branch
> 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
> Reporter: David Stein
> Labels: patch
> Attachments: kafka-0.7.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