You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Sandhu, Dilpreet" <ds...@illumina.com> on 2016/01/27 21:40:07 UTC

Re: Kafka 0.9.0.0 create topic throwing ERROR kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0 with zookeeper 3.4.6

Ignore my last email sorry

>Hi all,
>        I am using Kafka 0.9.0.0 with Zookeeper 3.4.6. I am not sure if I
>am missing anything :(
>When I try to create any topic I get the following error:-
>
>
>Error while executing topic command : replication factor: 1 larger than
>available brokers: 0
>
>[2016-01-27 20:35:53,738] ERROR kafka.admin.AdminOperationException:
>replication factor: 1 larger than available brokers: 0
>
>at kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:77)
>
>at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:236)
>
>at kafka.admin.TopicCommand$.createTopic(TopicCommand.scala:105)
>
>at kafka.admin.TopicCommand$.main(TopicCommand.scala:60)
>
>at kafka.admin.TopicCommand.main(TopicCommand.scala)
>
> (kafka.admin.TopicCommand$)
>
>It works with kafka 0.8.2.1
>
>Zookeeper is running.
>
>Any help will be greatly appreciated.
>
>Thanks.
>Best regards,
>Dilpreet