Hi Qi,
Yes, the metadata request will return information about all the brokers in
the cluster. Alternatively you can get the same metadata from Zookeeper.
Lukas
-----Original Message-----
From: Qi Xu
Sent: Friday, August 7, 2015 2:30 PM
To: users@kafka.apache.org
Subject: Kafka metadata
Hi Everyone,
I have a question that hopes to get some clarification.
In a Kafka cluster, does every broker have the complete view of the
metadata information?
What's the best practice for aproducer to send metadata request? Is it
recommended to send it to all brokers or just one broker?
In our scenario, we want to avoid the situation that each producer needs to
talk to every broker because we have hundreds thousands of producers and
the scalability of connection number will be a concern if every cluster
node is connected by any producer.
Thanks you for your help.
Qi