Solution

After searching a bit time, I visited to Apache Kafa QUICKSTART guide. Here I found the solution that Kafka has removed –zookeeper option and replaced it with a new option –bootstrap-server . So the new command would be like: Hope this will help you to resolve the Kafka issue.