Hope you are doing well.

Thanks for raising a request, we are glad assisting you.

Please confirm us are you using edureka kafka VM.

If you are using edureka kafka VM the try with below command.


bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test

Before this please check whether all the daemons are running or not.

==> sudo jps

==> If any one of the daemon is not running then fire the command sudo service hadoop-master restart and then fire sudo jps.