You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Pankaj Agrawal <pa...@gmail.com> on 2016/08/09 14:22:58 UTC

Not able to create test topic from quick guide

Hi 

I’m not able to create test topic following steps given in quick guide. kafka and zookeeper starts but following cos yield no output/result:

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

bin/kafka-topics.sh --list --zookeeper localhost:2181


Am I missing something here??

Thx
PK

Re: Not able to create test topic from quick guide

Posted by Pankaj Agrawal <pa...@gmail.com>.
Thanks for the reply Siva.

Issue has been resolved. It was a local environmental issue.

Rgds
P.K

On Tue, Aug 9, 2016 at 8:41 PM, Sivakumaran S <si...@me.com> wrote:

> 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 <pa...@gmail.com> wrote:
>
> bin/kafka-topics.sh --create --zookeeper localhost:2181
> --replication-factor 1 --partitions 1 --topic test
>
>
>

Re: Not able to create test topic from quick guide

Posted by Sivakumaran S <si...@me.com>.
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 <pa...@gmail.com> wrote:
> 
> bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test