kafka.common.LeaderNotAvailableException: Leader not available for partition [my-rep                                                      licated-topic,0]          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:468)          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:456)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scal                                  a:61)          at scala.collection.immutable.List.foreach(List.scala:45)

grokbase.com | 7 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

    [Kafka-users] Kafka cannot produce message - Grokbase

    grokbase.com | 7 months ago
    kafka.common.LeaderNotAvailableException: Leader not available for partition [my-rep                                                      licated-topic,0]          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:468)          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:456)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scal                                  a:61)          at scala.collection.immutable.List.foreach(List.scala:45)

    Root Cause Analysis

    1. kafka.common.LeaderNotAvailableException

      Leader not available for partition [my-rep                                                      licated-topic,0]          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:468)          at kafka.server.KafkaApis$$anonfun$17$$anonfun$20.apply(KafkaApis.scala:456)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.sca                                  la:206)          at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scal                                  a:61)          at scala.collection.immutable.List.foreach(List.scala:45)

      at scala.collection.immutable.List.map()
    2. Scala
      List.map
      1. scala.collection.immutable.List.map(List.scala:45)
      1 frame