forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
11 KiB
11 KiB
Managing Topics on Kafka UI
Scenario
On Kafka UI, you can view topic details, modify topic configurations, add topic partitions, delete topics, and view the number of data records produced in different time segments in real time.

- In security mode, Kafka UI does not authenticate the operation of viewing topic details. That is, any user can query topic information. To modify topic configurations, add topic partitions, or delete topics, ensure that the Kafka UI login user belongs to the kafkaadmin user group or grant the corresponding operation permissions to the user. Otherwise, the authentication fails.
- In non-security mode, Kafka UI does not authenticate any operation.
Viewing Topic Details
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
- In the Topic List area, you can view the names, status, number of partitions, creation time, and number of replicas of topics created in the current cluster.
- Click a topic name to view details about the topic and partition.
- In the Producer Message area, you can select Day, Week, or Month based on service requirements to view the number of data records produced in the topic.
Modifying the Topic Configuration
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
Searching for a Topic
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
- In the upper right corner of the page, enter a topic name to search for the topic.
Adding a Partition
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
- In the Operation column of the item to be modified, choose Action > Alter. On the displayed page, modify the topic partition.
- Click OK.
Deleting a Topic
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
- In the Operation column of the item to be modified, choose Action > Delete.
- In the confirmation dialog box that is displayed, click OK.
Viewing the Number of Data Records Produced
- Log in to Kafka UI. For details, see Accessing Kafka UI.
- Click Topics. The topic management page is displayed.
- In the Producer Message area, you can select Day, Week, or Month to view the number of data records produced in different time segments in the current cluster.
Parent topic: Using Kafka UI