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

producer missed header information when splitting batches

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.11.0.0
    • Fix Version/s: 0.11.0.1
    • Component/s: producer
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: