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

GitHub | montana-ua | 1 year 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

    Exception: replication factor: 3 larger than available brokers: 1

    GitHub | 1 year ago | montana-ua
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1
  2. 0

    GitHub comment 200#142925291

    GitHub | 2 years ago | kjetilhp
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1
  3. 0

    GitHub comment 14#161655926

    GitHub | 1 year ago | mazharshaikh86
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 17#166511969

    GitHub | 1 year ago | ewencp
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0
  6. 0

    ensure_topic_exists : kafka_python-0.9.4-py2.7.egg/kafka/common.py:233: UnknownError

    GitHub | 2 years ago | jamesblackburn
    kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0

    Root Cause Analysis

    1. kafka.admin.AdminOperationException

      replication factor: 3 larger than available brokers: 1

      at kafka.admin.AdminUtils$.assignReplicasToBrokers()
    2. Apache Kafka
      KafkaApis$$anonfun$19.apply
      1. kafka.admin.AdminUtils$.assignReplicasToBrokers(AdminUtils.scala:70)
      2. kafka.admin.AdminUtils$.createTopic(AdminUtils.scala:171)
      3. kafka.server.KafkaApis$$anonfun$19.apply(KafkaApis.scala:513)
      4. kafka.server.KafkaApis$$anonfun$19.apply(KafkaApis.scala:503)
      4 frames
    3. Scala
      AbstractSet.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.Set$Set1.foreach(Set.scala:74)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      5. scala.collection.AbstractSet.scala$collection$SetLike$$super$map(Set.scala:47)
      6. scala.collection.SetLike$class.map(SetLike.scala:93)
      7. scala.collection.AbstractSet.map(Set.scala:47)
      7 frames
    4. Apache Kafka
      KafkaRequestHandler.run
      1. kafka.server.KafkaApis.getTopicMetadata(KafkaApis.scala:503)
      2. kafka.server.KafkaApis.handleTopicMetadataRequest(KafkaApis.scala:542)
      3. kafka.server.KafkaApis.handle(KafkaApis.scala:62)
      4. kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:59)
      4 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame