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

producer missed header information when splitting batches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.11.0.0
    • 0.11.0.1
    • producer

    Description

      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);`

      Attachments

        Issue Links

          Activity

            People

              huxi_2b huxihx
              huxi_2b huxihx
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: