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 2023/03/14 20:15:00 UTC

[jira] [Updated] (KAFKA-14809) Fix logging conditional on WorkerSourceTask

     [ https://issues.apache.org/jira/browse/KAFKA-14809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Egerton updated KAFKA-14809:
----------------------------------
    Priority: Minor  (was: Trivial)

> Fix logging conditional on WorkerSourceTask
> -------------------------------------------
>
>                 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{*}.
> It's a subtle bug, which went undetected probably because its only used to log information about pending committable offsets.



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