Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using Kafka/ Common Issues About Kafka/ How Do I Solve the Problem that Kafka Topics Cannot Be Deleted?
Updated on 2022-09-15 GMT+08:00
How Do I Solve the Problem that Kafka Topics Cannot Be Deleted?
Question
How do I delete a Kafka topic if it fails to be deleted?
Answer
- Possible cause 1: The delete.topic.enable configuration item is not set to true. The deletion can be performed only when the configuration item is set to true.
- Possible cause 2: The auto.create.topics.enable configuration parameter is set to true, which is used by other applications and is always running in the background.
Solution:
- For cause 1: Set delete.topic.enable to true on the configuration page.
- For cause 2: Stop the application that uses the topic in the background, or set auto.create.topics.enable to false (restart the Kafka service), and then delete the topic.
Parent topic: Common Issues About Kafka
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.