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

Connect incorrectly logs that no records were produced by source tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0, 3.0.0, 3.0.1, 3.2.0, 3.1.1, 3.3.0, 3.0.2, 3.1.2, 3.2.1, 3.4.0, 3.2.2, 3.2.3, 3.3.1, 3.3.2
    • 3.2.4, 3.1.3, 3.0.3, 3.5.0, 3.4.1, 3.3.3
    • connect
    • None

    Description

      There's an if condition when committing offsets that is referencing the wrong variable, so the statement always evaluates to true.

      This causes log statements like the following to be spuriously emitted:

      [2023-03-14 16:18:04,675] DEBUG WorkerSourceTask{id=job-0} Either no records were produced by the task since the last offset commit, or every record has been filtered out by a transformation or dropped due to transformation or conversion errors. (org.apache.kafka.connect.runtime.WorkerSourceTask:220)

      Attachments

        Issue Links

          Activity

            People

              hgeraldino Hector Geraldino
              hgeraldino Hector Geraldino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: