You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Stevo Slavic (JIRA)" <ji...@apache.org> on 2015/07/13 01:07:04 UTC

[jira] [Commented] (KAFKA-2275) Add a ListTopic() API to the new consumer

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

Stevo Slavic commented on KAFKA-2275:
-------------------------------------

Isn't this covered by [public List<PartitionInfo> partitionsFor(String topic)|https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java#L967]? It was added in [this|https://github.com/apache/kafka/commit/0699ff2ce60abb466cab5315977a224f1a70a4da#diff-267b7c1e68156c1301c56be63ae41dd0] commit.

> Add a ListTopic() API to the new consumer
> -----------------------------------------
>
>                 Key: KAFKA-2275
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2275
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: consumer
>            Reporter: Guozhang Wang
>            Priority: Critical
>             Fix For: 0.8.3
>
>
> One usecase for this API is for consumers that want specific partition assignment with regex subscription. For implementation, it involves sending a TopicMetadataRequest to a random broker and parse the response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)