gabriellefu commented on code in PR #23924:
URL: https://github.com/apache/kafka/pull/23924#discussion_r4606399798


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/streams/assignor/BalancedTaskAssignor.java:
##########
@@ -373,29 +453,149 @@ private static Map<String, Set<Integer>> 
toCompactedTaskIds(final Set<TaskId> ta
         return ret;
     }
 
+    /**
+     * The upper bound on how many active plus standby tasks any member may 
hold, one value for the whole group: all
+     * tasks over all members, rounded up. When a member reaches it, the 
member and its tasks are taken out and the
+     * bound is computed again from the rest, which can lower it for the 
others.

Review Comment:
   sounds good,also this bound will change, I will update it.



-- 
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