Have you started Zookeeper and the Kafka Cluster?
Start the Zookeeper Server by the command 
zookeeper-server-start.sh $KAFKA_HOME/config/zookeeper.properties
Start the Kafka cluster by the command
kafka-server-start.sh $KAFKA_HOME/config/server.properties

Regards,

Sivakumaran S
> On 09-Aug-2016, at 3:22 PM, Pankaj Agrawal <pankaj....@gmail.com> wrote:
> 
> bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 
> 1 --partitions 1 --topic test

Reply via email to