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


##########
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:
   For the current impl, it sends a generation of -1 and id of "".  I see both 
fields are "ignorable", not sure if that means we don't need to send them, 
@dajac - I assume ignorable means we don't need to send them if we don't have 
one?



-- 
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