squah-confluent commented on code in PR #21694:
URL: https://github.com/apache/kafka/pull/21694#discussion_r2911487155
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -276,6 +275,21 @@ private static class UpdateSubscriptionMetadataResult {
}
}
+ private record UpdateTargetAssignmentResult<T>(
+ int targetAssignmentEpoch,
+ T targetAssignment
+ ) {
+ private static UpdateTargetAssignmentResult<Assignment>
fromLastTargetAssignment(
Review Comment:
It will be used multiple times once batching and offload are implemented.
It's needed when there is an in-flight offloaded assignment, the assignment
interval has not elapsed and when starting an offloaded assignment.
--
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]