我要评分
获取效率
正确性
完整性
易理解

Topics Generated in a Test Case of Storm+Kafka Are Not Automatically Deleted When the Test Is Complete

Symptom

The topics generated in a test case of Storm+Kafka are not automatically deleted after the test is complete.

Key Process and Cause Analysis

None

Conclusion and Solution

Delete the topics generated in the test case.

storm list
storm kill wordcount
zklist=DataNode1:24002,DataNode2:24002,DataNode3:24002
kafka-topics.sh --zookeeper $zklist:24002/kafka --delete --topic testTopic