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
                                          

Reply via email to