machi1990 commented on code in PR #13665:
URL: https://github.com/apache/kafka/pull/13665#discussion_r1198620869


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinator.java:
##########
@@ -123,6 +124,8 @@ public final class ConsumerCoordinator extends 
AbstractCoordinator {
 
     // hold onto request&future for committed offset requests to enable async 
calls.
     private PendingCommittedOffsetRequest pendingCommittedOffsetRequest = null;
+    // holds the offset metadata for assigned partitions to reduce remote 
calls thus speeding up fetching partition metadata
+    private final Map<TopicPartition, OffsetAndMetadata> partitionOffsetsCache;

Review Comment:
   good suggestion, I'll do so.



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