/admin/delete_topics is not in the list of zookeeper watchers

Viewed 13

I deployed the Kafka cluster on Kuberentes and am trying to figure out how topic deletion works. I know Kafka controller has the topic deletion manager which watches the node change in the zookeeper. Whenever a topic is deleted, the manager is triggered. I expected to see that the /admin/delete_topics is in the watcher list. However, I didn't find it. Sample output:

root@kafka-broker-2:/opt/kafka# echo wchc | nc ZOOKEEPER_IP 2181
0x200100211390000
    /admin/preferred_replica_election
    /brokers/ids/0
    /brokers/ids/1
    /brokers/ids/2
    /brokers/topics/__consumer_offsets
    /brokers/ids/3
    /brokers/ids/4
    /controller
    /admin/reassign_partitions
    /brokers/topics/test-test
    /brokers/topics/topic-1
    /feature
0x200100211390001
    /controller
    /feature
0x1631f90000
    /controller
    /feature

Even though I can delete the topic, I am confused about the output.

Kafka version: 3.2.1

0 Answers
Related