suzhiking commented on code in PR #23969:
URL: https://github.com/apache/kafka/pull/23969#discussion_r4605947660
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/streams/AssignmentRefinerImpl.java:
##########
@@ -1153,11 +1118,23 @@ private static boolean isStateful(
* that no role it has been granted accounts for. How far behind
that state is cannot be measured, because
* a member reports an end offset only for a task it is restoring.
A process with no such task has no
* entry.
+ * @param processLoad
+ * How loaded each process running at least one member is, so that
the derivation can send work to the
+ * process with the most room: the case analysis picks between
equally good copies to promote, and the
Review Comment:
agree, yea I usually let it write comment as generic as possible if I catch
its defensive comments, but guess I didn't look at function signature too
carefully
--
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]