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

Stack Overflow | Renukaradhya | 5 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

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

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

    AdminUtils.createTopic API throws kafka.admin.AdminOperationException

    Stack Overflow | 5 months ago | Renukaradhya
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1
  3. 0

    Kafka TOPIC_AUTHORIZATION_FAILED

    Stack Overflow | 4 months ago | M. Situation
    kafka.admin.AdminOperationException: replication factor: 3 larger than available brokers: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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$getOrCreateGroupMetadataTopic$1.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.kafka$server$KafkaApis$$createGroupMetadataTopic(KafkaApis.scala:651)
      5. kafka.server.KafkaApis$$anonfun$getOrCreateGroupMetadataTopic$1.apply(KafkaApis.scala:657)
      6. kafka.server.KafkaApis$$anonfun$getOrCreateGroupMetadataTopic$1.apply(KafkaApis.scala:657)
      6 frames
    3. Scala
      Option.getOrElse
      1. scala.Option.getOrElse(Option.scala:121)
      1 frame
    4. Apache Kafka
      KafkaRequestHandler.run
      1. kafka.server.KafkaApis.getOrCreateGroupMetadataTopic(KafkaApis.scala:657)
      2. kafka.server.KafkaApis.handleGroupCoordinatorRequest(KafkaApis.scala:818)
      3. kafka.server.KafkaApis.handle(KafkaApis.scala:86)
      4. kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:60)
      4 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame