I am trying to create topics in Kafka by following the guide on Apache Kafka website through command line. While running the command:
bin/kafka-topics.sh --c
make sure the kafka server has started properly. If you are using -dameon
parameter to start kafka server as daemon. Try to remove it and see if there are any errors during the startup.
The issue I ran into turned out to be a file access issue, where the user runs kafka doesn't have access to the log directory I configured. After I granted the access, it just works!