C0urante commented on code in PR #13424:
URL: https://github.com/apache/kafka/pull/13424#discussion_r1146280630


##########
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/standalone/StandaloneHerder.java:
##########
@@ -424,6 +435,9 @@ private void updateConnectorTasks(String connName) {
         if (!worker.isRunning(connName)) {
             log.info("Skipping update of connector {} since it is not 
running", connName);
             return;
+        } else if (configState.targetState(connName) != TargetState.STARTED) {
+            log.info("Skipping update of connector {} since its target state 
is {}", connName, configState.targetState(connName));

Review Comment:
   I agree with this, but "connector tasks for connector" is also a bit 
verbose--I've updated this statement and the one above it to "Skipping update 
of tasks for connector".



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to