kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0

Stack Overflow | amateur | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Can AdminUtils.createTopic API connect to multiple zookeeper nodes?

    Stack Overflow | 9 months ago | amateur
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  2. 0

    Can AdminUtils.createTopic API connect to multiple zookeeper nodes?

    Google Groups | 8 months ago | Siva Santhalingam
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  3. 0

    IBM Troubleshooting Infosphere Information Server events with Apache Kafka - United States

    ibm.com | 9 months ago
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. kafka.admin.AdminOperationException

      replication factor: 1 larger than available brokers: 0

      at kafka.admin.AdminUtils$.assignReplicasToBrokers()
    2. Apache Kafka
      AdminUtils.createTopic
      1. kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:117)
      2. kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:403)
      3. kafka.admin.AdminUtils.createTopic(AdminUtils.scala)
      3 frames
    3. io.confluent.examples
      ProducerGroup.main
      1. io.confluent.examples.producer.ZookeeperUtil.createTopics(ZookeeperUtil.java:98)
      2. io.confluent.examples.producer.ProducerGroup.<init>(ProducerGroup.java:50)
      3. io.confluent.examples.producer.ProducerGroup.main(ProducerGroup.java:124)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. org.codehaus.mojo
      ExecJavaMojo$1.run
      1. org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame