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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Unknown by Unknown author,
  • Stack trace

    • 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(List.scala:45)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.