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


##########
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:
   Nit: Is "The upper bound on how many active plus standby tasks any member 
may hold" correct? I believe it only gates the rack-aware pass. The tag-blind 
fill afterwards ignores it, so a member can end up above it. Something like 
"...any member may take in the rack-aware pass" would be accurate.



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