Viewing Kafka Topic Information
Scenario
You can view information about created Kafka topics on the Manager or Kafka UI.
Viewing Kafka Topic Information on the Manager
- Go to the Kafka service page.
- For versions earlier than MRS 3.x, click the cluster name to go to the cluster details page and choose Components > Kafka.
If the Components tab is unavailable, complete IAM user synchronization first. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)
- For MRS 3.x or later, log in to FusionInsight Manager. For details, see Accessing FusionInsight Manager (MRS 3.x or Later). Choose Cluster > Name of the desired cluster > Services > Kafka.
- For versions earlier than MRS 3.x, click the cluster name to go to the cluster details page and choose Components > Kafka.
- Click KafkaTopicMonitor.
All topics are displayed in the list by default. You can view the number of partitions and replicas of the topics.
- Click the desired topic in the list to view its details.
If the following operations are performed, Kafka topic monitoring may not be displayed:
- Capacity expansion or reduction has been performed on Kafka or ZooKeeper.
- Instances have been added to or deleted from Kafka or ZooKeeper.
- The Elasticsearch service is reinstalled.
- Kafka is switched to another ZooKeeper service.
Perform the following steps to rectify the fault:
Viewing Kafka Topic Information on the Kafka UI (for MRS 3.1.2 and Later)
- Access the Kafka UI.
- Log in to FusionInsight Manager as a user who has the permission to access the Kafka UI and choose Cluster > Services > Kafka.
If you need to perform operations on the page, for example, creating a topic, you need to grant related permissions to users. For details, see Kafka User Permissions.
- On the right of KafkaManager WebUI, click the URL to access the Kafka UI.
- Log in to FusionInsight Manager as a user who has the permission to access the Kafka UI and choose Cluster > Services > Kafka.
- Click Brokers.
- In the Broker Summary area, you can view Broker ID, Host, Rack, Disk(Used|Total), and Memory(Used|Total) of brokers.
- View the JMX metrics for broker node data traffic in the Brokers Metrics area. You can check the average number of incoming messages per second, incoming and outgoing message byte counts per second, failed requests per second, total requests per second, and production requests per second in various time windows.
- Enter a host IP address or rack configuration information in the upper right corner of the page to search for a broker.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot