To install kafka , I downloaded the kafka tar folder. To start the server I tried this command :
bin/zookeeper-server-start.sh config/zookeeper.properties
<
I faced the exact same error, and after a while I realized that the reason for the error was, I wasn't able to find the zookeeper.properties
file, and that was because the path wasn't correct, I installed kafka through brew so the config folder was created inside libexec, so find where the config directory is and check for zookeeper.properties
inside it and give that path.