You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2022/02/15 20:44:00 UTC

[jira] [Created] (KAFKA-13669) Log messages for source tasks with no offsets to commit are noisy and confusing

Chris Egerton created KAFKA-13669:
-------------------------------------

             Summary: Log messages for source tasks with no offsets to commit are noisy and confusing
                 Key: KAFKA-13669
                 URL: https://issues.apache.org/jira/browse/KAFKA-13669
             Project: Kafka
          Issue Type: Bug
          Components: KafkaConnect
            Reporter: Chris Egerton
            Assignee: Chris Egerton


The [messages|https://github.com/apache/kafka/blob/71cbff62b685ef2b6b3169c2e69693687ddf7b3f/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSourceTask.java#L493-L500] that Connect emits during offset commit for source tasks that haven't accrued any new offsets since their last commit are logged at INFO level, which has confused some users who saw them and believed that something was wrong with their connector.

We introduced these fairly recently as part of the work in [https://github.com/apache/kafka/pull/11323] for KAFKA-12226.

We may want to lower the level of these messages to DEBUG in order to avoid giving users the impression that something's wrong with their connector, especially if there's a source task running that has gotten fully caught-up with the system it's polling and is simply waiting for more data to become available.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)