Hi All,

I am new to Kafka, I want to make sure Kafka server is available before I
can do any polling to the messages. What I did is creating a consumer
without subscription and try to access the partitions metadata for a
specific topic. This trick works for the first time. If I take the brokers
down and get one up and test the connectivity, it fails.

My problem is, I am not sure if this is the right way to ensure
connectivity. I appreciate any feedback about the best way to do this on
Kafka 0.9.0.1.

Thanks!

-- 

*Best Regards/أطيب المنى,*

*Anas Mosaad*
*Incorta Inc.*
*+20-100-743-4510*

Reply via email to