chia7712 commented on code in PR #24195:
URL: https://github.com/apache/kafka/pull/24195#discussion_r4565044407
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -2293,7 +2293,7 @@ private CoordinatorResult<StreamsGroupHeartbeatResult,
CoordinatorRecord> stream
// 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);
- if (!refinedGroupAssignment.getOrDefault(memberId,
TasksTuple.EMPTY).sameTasks(updatedMember.assignedTasks())) {
+ if (differsFromAssignedTasks(refinedGroupAssignment, group)) {
Review Comment:
Sounds good!
--
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]