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

InternalSinkRecord::newRecord method ignores the headers argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.3, 3.6.0, 3.4.2, 3.5.2
    • connect
    • None

    Description

      https://github.com/apache/kafka/blob/a1f6ab69387deb10988461152a0087f0cd2827c4/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/InternalSinkRecord.java#L50-L56 - the headers argument passed to the InternalSinkRecord constructor is the instance field via the accessor headers() method instead of the newRecord method's headers argument value.

       

      Originally discovered here.

      Attachments

        Issue Links

          Activity

            People

              yash.mayya Yash Mayya
              yash.mayya Yash Mayya
              Chris Egerton Chris Egerton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: