You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Yu-Jhe Li (Jira)" <ji...@apache.org> on 2021/10/26 09:45:00 UTC

[jira] [Created] (KAFKA-13404) Kafka sink connectors do not commit offset correctly if messages are produced in transaction

Yu-Jhe Li created KAFKA-13404:
---------------------------------

             Summary: Kafka sink connectors do not commit offset correctly if messages are produced in transaction
                 Key: KAFKA-13404
                 URL: https://issues.apache.org/jira/browse/KAFKA-13404
             Project: Kafka
          Issue Type: Bug
          Components: KafkaConnect
    Affects Versions: 2.6.1
            Reporter: Yu-Jhe Li


The Kafka sink connectors don't commit offset to the latest log-end offset if the messages are produced in a transaction.

From the code of [WorkerSinkTask.java|#L467]], we found that the sink connector gets offset from messages and commits it to Kafka after the messages are processed successfully.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)