You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/10/12 19:50:00 UTC

[jira] [Created] (KAFKA-21270) Race condition can cause a newly created connector to use initial offsets from another request

Chia-Ping Tsai created KAFKA-21270:
--------------------------------------

             Summary: Race condition can cause a newly created connector to use initial offsets from another request
                 Key: KAFKA-21270
                 URL: https://issues.apache.org/jira/browse/KAFKA-21270
             Project: Kafka
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


{{doPutConnectorConfig}} needs two requests to complete its job, which means another user’s request could slip in between and cause a race condition. For example, the first request sets initial offsets, but the second doesn’t. When the race happens, the connector created by the second request could use the initial offsets set by the first request without any warning.

Of course ... if both requests have identical initial offsets, that is fine 🙂



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