Created on 01-19-2023 06:19 AM - last edited on 01-19-2023 11:07 AM by DianaTorres
#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
Created 01-23-2023 01:04 AM
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.
Created 01-26-2023 02:20 PM
@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,