[
https://issues.apache.org/jira/browse/KAFKA-21270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126483#comment-18126483
]
Chia-Ping Tsai commented on KAFKA-21270:
----------------------------------------
see https://github.com/apache/kafka/pull/23783#discussion_r4251783185
> 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
> Priority: Minor
>
> {{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)