By default in Kafka version 0.10, delete.topic.enable is false.
To be able to delete topics, you need to set delete.topic.enable to true in the broker properties file.
Note that starting from 1.0.0, this is now enabled by default.
Hope this works for you!
Get your Kafka certification today to become certified professional
Thank You