psiby commented on code in PR #23783:
URL: https://github.com/apache/kafka/pull/23783#discussion_r4256323186


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/DistributedHerder.java:
##########
@@ -1149,6 +1149,9 @@ private void doPutConnectorConfig(
                         }
 
                         log.trace("Handling connector config request {}", 
connName);
+                        if (initialOffsets != null && 
!refreshConfigSnapshotForInitialOffsets(connName, callback)) {

Review Comment:
   Good point. Moved the refresh into `putConnectorConfigChecks`, after the 
leader check.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to