Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Verify on the createTopic command if you've set the right replication factor for the amount of brokers you have. Check as well if all your brokers are correctly setup and that they're alive when you create the topic.

  2. ,
    Expert tip

    If you're having problems using kafka in cluster, refer to this guide: https://goo.gl/tgWDjS

Solutions on the web

via Google Groups by Siva Santhalingam, 1 year ago
replication factor: 1 larger than available brokers: 0
via Stack Overflow by amateur
, 1 year ago
replication factor: 1 larger than available brokers: 0
via ibm.com by Unknown author, 1 year ago
via Stack Overflow by Count
, 2 years ago
replication factor: 1 larger than available brokers: 0
via Stack Overflow by M. Situation
, 1 year ago
replication factor: 3 larger than available brokers: 1
via Stack Overflow by Renukaradhya
, 1 year ago
replication factor: 3 larger than available brokers: 1
kafka.admin.AdminOperationException: replication factor: 1 larger than 
available brokers: 0	at kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:117)	at kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:403)	at kafka.admin.AdminUtils.createTopic(AdminUtils.scala)	at io.confluent.examples.producer.ZookeeperUtil.createTopics(ZookeeperUtil.java:98)	at io.confluent.examples.producer.ProducerGroup.(ProducerGroup.java:50)	at io.confluent.examples.producer.ProducerGroup.main(ProducerGroup.java:124)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)	at java.lang.Thread.run(Thread.java:745)