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)

Reply via email to