Help Center/
MapReduce Service/
Component Operation Guide (ME-Abu Dhabi Region)/
Using Kafka/
Common Issues About Kafka/
How Do I Solve the Problem that Kafka Topics Cannot Be Deleted?
Updated on 2022-02-22 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot