Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # dev >> [jira] [Commented] (KAFKA-1087) Empty topic list causes consumer to fetch metadata of all topics


Copy link to this message
-
[jira] [Commented] (KAFKA-1087) Empty topic list causes consumer to fetch metadata of all topics

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

Neha Narkhede commented on KAFKA-1087:
--------------------------------------

Good catch, +1 !

> Empty topic list causes consumer to fetch metadata of all topics
> ----------------------------------------------------------------
>
>                 Key: KAFKA-1087
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1087
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>         Attachments: KAFKA-1087.patch
>
>
> The ClientUtils fetches metadata for all topics if the topic set is empty.
> If the topic list of a consumer is empty, the following happens if a rebalance is triggered:
> - The fetcher is restarted, fetcher.startConnections() starts a LeaderFinderThread
> - LeaderFinderThread waits on a condition
> - fetcher.startConnections() signals the aforementioned condition
> - LeaderFinderThread obtains metadata for all topics since the topic list is empty.

--
This message was sent by Atlassian JIRA
(v6.1#6144)

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB