Description
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.
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.