Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-870

hadoop-producer KafkaRecordWriter writes entire input buffer capacity, even when intended payload is smaller

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7, 0.8.0
    • None
    • contrib

    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.

      Attachments

        1. kafka-0.7.patch
          1 kB
          David Stein
        2. kafka-0.8.patch
          1 kB
          David Stein

        Activity

          People

            Unassigned Unassigned
            dstein David Stein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: