You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mark Roberts (Jira)" <ji...@apache.org> on 2020/08/18 15:31:00 UTC

[jira] [Commented] (KAFKA-8606) Provide a method to fetch committed offsets for a collection of TopicPartition

    [ https://issues.apache.org/jira/browse/KAFKA-8606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179703#comment-17179703 ] 

Mark Roberts commented on KAFKA-8606:
-------------------------------------

I'm reasonably sure that this ticket can be closed as of 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
>
> 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.3.4#803005)