suzhiking commented on code in PR #23899:
URL: https://github.com/apache/kafka/pull/23899#discussion_r4624650193
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -2286,7 +2286,7 @@ private CoordinatorResult<StreamsGroupHeartbeatResult,
CoordinatorRecord> stream
if (assignmentUpdate == AssignmentUpdate.NONE && group.state() ==
StreamsGroup.StreamsGroupState.STABLE) {
// We are not computing a new target assignment later, thus we try
to refine the current target assignment
// into an intermediate assignment (with warm-up tasks) the member
should be reconciled towards.
- refinedGroupAssignment = refineAssignment(group,
group.targetAssignment(), updatedConfiguredTopology);
+ refinedGroupAssignment = refineAssignment(group, group.members(),
group.targetAssignment(), updatedConfiguredTopology);
Review Comment:
my understanding is that new member and static member replacement never
reaches this path because new member changes `assignmentUpdate` to
`AssignmentUpdate.RECOMPUTE` and static member replacement means group state is
in "RECONCILING"
--
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]