mjsax commented on code in PR #22658:
URL: https://github.com/apache/kafka/pull/22658#discussion_r3484426352
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -4309,15 +4304,12 @@ private UpdateTargetAssignmentResult<TasksTuple>
maybeUpdateStreamsTargetAssignm
.setStatusDetail("Assignment delayed due to the configured
initial rebalance delay.")
));
- return new UpdateTargetAssignmentResult<>(
- group.assignmentEpoch(),
- TasksTuple.EMPTY
- );
+ return new UpdateTargetAssignmentResult<>(group.assignmentEpoch(),
Map.of());
}
if (group.assignmentEpoch() >= groupEpoch) {
// The assignment is up to date.
- return
UpdateTargetAssignmentResult.fromLastTargetAssignment(group, updatedMember);
+ return new UpdateTargetAssignmentResult<>(group.assignmentEpoch(),
group.targetAssignment());
Review Comment:
Thanks. Let me take a close look.
--
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]