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

GitHub | Lawouach | 6 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

    The crash of kafka server and heka fiter

    Stack Overflow | 8 months ago | See Wei
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  2. 0

    GitHub comment 44#252938012

    GitHub | 6 months ago | Lawouach
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  3. 0

    GitHub comment 101#266557910

    GitHub | 4 months ago | johnrgregg3
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 127#249504347

    GitHub | 7 months ago | xiaomayilj
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1

    Root Cause Analysis

    1. kafka.admin.AdminOperationException

      replication factor: 1 larger than available brokers: 0

      at kafka.admin.AdminUtils$.assignReplicasToBrokers()
    2. Apache Kafka
      KafkaApis$$anonfun$29.apply
      1. kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:117)
      2. kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:403)
      3. kafka.server.KafkaApis.kafka$server$KafkaApis$$createTopic(KafkaApis.scala:629)
      4. kafka.server.KafkaApis$$anonfun$29.apply(KafkaApis.scala:670)
      5. kafka.server.KafkaApis$$anonfun$29.apply(KafkaApis.scala:666)
      5 frames
    3. Scala
      AbstractSet.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
      3. scala.collection.immutable.Set$Set1.foreach(Set.scala:94)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
      5. scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
      6. scala.collection.SetLike$class.map(SetLike.scala:92)
      7. scala.collection.AbstractSet.map(Set.scala:47)
      7 frames
    4. Apache Kafka
      KafkaRequestHandler.run
      1. kafka.server.KafkaApis.getTopicMetadata(KafkaApis.scala:666)
      2. kafka.server.KafkaApis.handleTopicMetadataRequest(KafkaApis.scala:727)
      3. kafka.server.KafkaApis.handle(KafkaApis.scala:79)
      4. kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:60)
      4 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[2016-10-11 16:35:59,498]
      1 frame