Did you check your brokers are running? On Wed, Jan 27, 2016 at 1:30 PM, Sandhu, Dilpreet <dsan...@illumina.com> wrote:
> 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 > >