AccessDeniedException when deleting a topic on Windows Kafka AccessDeniedException when deleting a topic on Windows Kafka windows windows

AccessDeniedException when deleting a topic on Windows Kafka


I know I'm late to the party but keep in mind that even if you delete your topic manually or via some Kafka UI and you delete all the kafka logs, kafka still may not start because of the state that it syncs with ZK.

So, make sure you cleanup the ZK state by deleting ZK's log.

Please know these actions are irreversible. Also run as Administrator


I had a similar problem and it happen only under windows, see KAFKA-1194 and it still apply to Kafka 1.1.0

The only workaround available is to disable the cleaner log.cleaner.enable = false

For local development under windows you can ignore this issue since it does not apply in other OS.


I had similar problem after deleting a topic. I had to go to topic location and delete it manually and it worked. /tmp/kafka-logs/[yourTopicName]

I am not sure if same will work for you, as I am also new to KAFKA.