kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChenHongHai <waldenchenka...@outlook.com>
Subject How to easily get all broker of one topic?
Date Tue, 03 Mar 2015 07:08:37 GMT
If there is 1000 brokers, and one topic only has 3 partitions, and 2 replica.How to easily
get all broker of it?   If directly get them from zookeeper /brokers/topics/theTopic/partition,
maybe at that time some  partition leader not on line and can't get full list of all leader
and replica.
If try each broker, there are so many.    And if one broker return  error code 3, may I 100%
sure that broker has no any replica of this topic?
UnknownTopicOrPartition
3
This request is for a topic or partition that does not exist on this broker
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message