Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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,
Senior 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: