Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com> Co-authored-by: chenjunjie <chenjunjie@huawei.com> Co-committed-by: chenjunjie <chenjunjie@huawei.com>
14 KiB
Viewing Kafka Topic Details
On the Kafka console, you can view basic information, partition and producer information, and subscriptions of a topic.
Notes and Constraints
- If an instance contains more than 10,000 consumer groups, the subscribed topics cannot be queried.
- The producer information is displayed only when a producer is producing messages into topics.
Procedure
- Log in to the console.
- Click
in the upper left corner to select the region where your instance is located. - Click Service List and choose Application > Distributed Message Service. The Kafka instance list is displayed.
- Click the desired instance to go to the instance details page.
- In the navigation pane, choose Topics.
- Click a topic to view its details.
On the topic details page, the basic information, partitions, producers, and subscriptions are displayed.
Table 1 Basic topic information Parameter
Description
Topic Name
Name of this topic.
Brokers
This topic has been associated with brokers.
Partitions
Number of partitions of this topic.
Created
CAUTION:The topic creation time is not displayed on the topic details page in any of the following cases:
- The topics were created much earlier. See the console.
- The topics were created automatically, or by commands or code on the client.
Time when this topic is created.
Table 2 Partition information of a topic Parameter
Description
Partition
Partition No. of this topic.
Minimum Offset
Minimum offset of this partition.
Maximum Offset
Maximum offset of this partition.
Messages
Number of messages in this partition.
Updated
Time when the last message in this partition is updated.
For topics created much earlier, Producer tab page is not displayed on the topic details page. See the console.
Table 3 Producer information of a topic Parameter
Description
Broker Address
Broker address of the Kafka instance connected to the producer.
Producer Address
Address of the producer client.
Producer Connected
Time when the producer is connected to the Kafka instance.
Table 4 Subscriptions of a topic Parameter
Description
Consumer Group Name
Name of the consumer group that subscribes to this topic.
Clicking a consumer group name can go to the consumer group details page and view the consumer list and consumption progress.
Status
Current status of a consumer group.
- DEAD: The consumer group has no member or metadata.
- EMPTY: The consumer group has metadata but has no member.
- PREPARING_REBALANCE: The consumer group is to be rebalanced.
- COMPLETING_REBALANCE: All members have joined the consumer group.
- STABLE: Members in the consumer group can consume messages normally.
Coordinator(ID)
Broker where the Coordinator component is.
Accumulated Messages
Number of remaining messages that can be consumed in a consumer group.
Details
Clicking Details to go to the consumer group details.

