suzhiking commented on code in PR #23969:
URL: https://github.com/apache/kafka/pull/23969#discussion_r4622939432


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/streams/AssignmentRefinerImpl.java:
##########
@@ -1411,6 +1388,40 @@ private record StandbyConflicts(
     ) {
     }
 
+    /**
+     * The members the target assignment names as standby holders of each 
stateful task.
+     *
+     * <p>The lookup is built from the target assignment on the first {@link 
#holdersOf} call, which walks every target
+     * standby. Only a task that diverges from its target owner reads it -- to 
rank the copies to promote, and to find

Review Comment:
   agree



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