[
https://issues.apache.org/jira/browse/KAFKA-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Schofield resolved KAFKA-8606.
-------------------------------------
Fix Version/s: 2.4.0
Resolution: Fixed
Method added in AK 2.4.
> 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.3.0, 2.2.1
> Reporter: ov7a
> Priority: Major
> Fix For: 2.4.0
>
>
> 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
(v8.20.10#820010)