lianetm commented on code in PR #14390:
URL: https://github.com/apache/kafka/pull/14390#discussion_r1358318907


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/CommitRequestManager.java:
##########
@@ -231,25 +246,23 @@ public NetworkClientDelegate.UnsentRequest 
toUnsentRequest() {
 
     private class OffsetFetchRequestState extends RequestState {
         public final Set<TopicPartition> requestedPartitions;
-        public final GroupState.Generation requestedGeneration;
-        private final CompletableFuture<Map<TopicPartition, 
OffsetAndMetadata>> future;
+        public CompletableFuture<Map<TopicPartition, OffsetAndMetadata>> 
future;
+
         public OffsetFetchRequestState(final Set<TopicPartition> partitions,
-                                       final GroupState.Generation generation,

Review Comment:
   We do need member epoch (and member ID), to be included in the request if we 
have them, exactly as it is done for the OffsetCommit. 



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to