I’ve been trying to run both zookeeper and kafka 2.13 on my local windows machine. I have modified the server properties to point to c:/kafka/kafka-logs and zookeeper data to point to c:/kafka/zookeeper-data.
The zookeeper starts without any issues but when I attempt to start kafka with
I get the below error saying AccessDeniedException. I have already tried the below:
- Deleting the kafka-logs and zookeeper-data folders and running both zookeeper and kafka again – I still run into the error if I do that
- Creating the kafka-logs folder before running kafka – I still get the access denied exception
- Running the command prompt as administrator before typing the commands – does not work
Could anyone give some suggestions on how to fix this?
Source: Windows Questions