Support Questions

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

How to find In which server the Kafka cluster and topic are created

avatar
New Contributor

#1 How to find In which server the Kafka cluster and topic are created and 

#2 Can we find any IP addresses anywhere in the configuration/properties files

2 REPLIES 2

avatar
Expert Contributor

Hello @Yam 

 

Below are my inline answers to your queries: 

 

#1 How to find In which server the Kafka cluster and topic are created and 

>> You can check hostnames and broker IDs on which Kafka broker roles are installed from CM >> Kafka >> Instances. Here you will get the hostnames and broker IDs.

 

Now to check on which brokers topics are created either you can check it from SMM which very useful monitoring and administrative tool Cloudera is providing or you simply describe all topics using the command: 

 

kafka-topics --zookeeper ZK_HOST:2181 --describe  

OR

kafka-topics --bootstrap-server <broker-hostname>:9092 --describe  

 

Note: If the cluster is kerberized, then you should use keytab, jaas.conf, client.properties and the correct port which you are using to describe topics

 

#2 Can we find any IP addresses anywhere in the configuration/properties files

>> You can check hostnames, IPs and roles installed on those nodes from CM >> Hosts >> All Hosts.

 

If you found this response assisted with your query, please take a moment to log in and click on  KUDOS 🙂 & ”Accept as Solution" below this post.

avatar
Community Manager

@yamu 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: