Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Kafka Issue

avatar
New Contributor
Cannot display the number of topics and information about each topic when using cmd (zookeeper state changed (SyncConnected))

 

260911273_180545207547434_4255310727244255007_n.png

1 ACCEPTED SOLUTION

avatar
Contributor

Hello @KhangNguyen Please use Zookeeper chroot with your topic list command. 

For e.g:

 

kafka-topics --zookeeper <zookeeper-hostname>:<zk_port>/kafka 

 

Here in the above case Zookeeper chroot is /kafka accordingly please use chroot value you have set in the Kafka configs. Hope it helps.

View solution in original post

4 REPLIES 4

avatar
Master Collaborator

Hello @KhangNguyen 

 

Can you please share the command that you are trying to list the kafka topics and just wanted to confirm If zookeeper is in active state.

avatar
Contributor

Hello @KhangNguyen Please use Zookeeper chroot with your topic list command. 

For e.g:

 

kafka-topics --zookeeper <zookeeper-hostname>:<zk_port>/kafka 

 

Here in the above case Zookeeper chroot is /kafka accordingly please use chroot value you have set in the Kafka configs. Hope it helps.

avatar
New Contributor

Hi Nidhin ,

 

Thank for your support. With your solution I solved the problem

 

Regards,

Khang

avatar
Community Manager

@KhangNguyen Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: