ramesh-muthusamy commented on a change in pull request #9319: URL: https://github.com/apache/kafka/pull/9319#discussion_r512945677
########## File path: connect/runtime/src/main/java/org/apache/kafka/connect/runtime/distributed/IncrementalCooperativeAssignor.java ########## @@ -577,15 +596,14 @@ private void resetDelay() { numToRevoke = floorTasks; for (WorkerLoad existing : existingWorkers) { Iterator<ConnectorTaskId> tasks = existing.tasks().iterator(); + numToRevoke = existing.tasksSize() - ceilTasks; Review comment: @kkonstantine we are trying to revoke the additional tasks assigned [if any] to a worker so that in the next stage the revoked tasks can be re assigned to the new workers that get added to the group. Yes we need to apply this to connectors as well, I will update the PR for the changes . ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org