[
https://issues.apache.org/jira/browse/KAFKA-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624307#comment-14624307
]
Guozhang Wang commented on KAFKA-2275:
--------------------------------------
[~mtomcat_sslavic] partitionsFor() can only be used to get the #.partitions of
a given topic, but for some scenarios the consumer does not know what topic
names are there that are of its interests and hence the need of another
listTopic().
> 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)