your broker is not running

发自我的 iPhone

> 在 2017年8月18日,下午3:14,Raghav <raghavas...@gmail.com> 写道:
> 
> Hi
> 
> I have a 1 broker and 1 zookeeper on the same VM. I am using Kafka 10.2.1.
> I am trying to create a topic using below command:
> 
> "bin/kafka-topics.sh --create --zookeeper localhost:2181
> --replication-factor 1 --partitions 16 --topic topicTest04"
> 
> It fails with the below error. Just wondering why admin tools don't think
> that there is any broker available while the broker is up ? Any input is
> greatly appreciated.
> 
> *"Error while executing topic command : replication factor: 1 larger than
> available brokers: 0*
> *[2017-08-18 07:05:47,813] ERROR
> org.apache.kafka.common.errors.InvalidReplicationFactorException:
> replication factor: 1 larger than available brokers: 0*
> * (kafka.admin.TopicCommand$)"*
> 
> Thanks.
> 
> -- 
> Raghav

Reply via email to