ov7a created KAFKA-8606: --------------------------- Summary: Provide a method to fetch committed offsets for a collection of TopicPartition Key: KAFKA-8606 URL: https://issues.apache.org/jira/browse/KAFKA-8606 Project: Kafka Issue Type: Improvement Components: clients, consumer Affects Versions: 2.2.1, 2.3.0 Reporter: ov7a
Currently KafkaConsumer has methods for fetching begging offsets, end offsets and offsets for times, all of them accepting a collection of TopicPartition. There is a method to fetch committed offset for single TopicPartition, but there is no public API to fetch commited offsets for a collection of TopicPartition. So, If one wants to fetch all committed offsets for topic, a request per partition is created. Note that ConsumerCoordinator.fetchCommittedOffsets which called internally in "committed" method does accept a collection of TopicPartition. -- This message was sent by Atlassian JIRA (v7.6.3#76005)