[ 
https://issues.apache.org/jira/browse/KAFKA-14809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17700372#comment-17700372
 ] 

Hector Geraldino commented on KAFKA-14809:
------------------------------------------

No that's perfect. Thanks [~ChrisEgerton]!

> Connect incorrectly logs that no records were produced by source tasks
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-14809
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14809
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>            Reporter: Hector Geraldino
>            Assignee: Hector Geraldino
>            Priority: Minor
>
> There's an *{{if}}* condition when [committing 
> offsets|https://github.com/apache/kafka/blob/trunk/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerSourceTask.java#L219]
>  that is referencing the wrong variable, so the statement always evaluates to 
> {*}true{*}.
> This causes log statements like the following to be spuriously emitted:
> {quote}[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)
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to