Package org.apache.kafka.common.errors
Class LeaderNotAvailableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.RetriableException
org.apache.kafka.common.errors.InvalidMetadataException
org.apache.kafka.common.errors.LeaderNotAvailableException
- All Implemented Interfaces:
Serializable
There is no currently available leader for the given partition (either because a leadership election is in progress
or because all replicas are down).
- See Also:
-
Constructor Summary
ConstructorDescriptionLeaderNotAvailableException
(String message) LeaderNotAvailableException
(String message, Throwable cause) -
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LeaderNotAvailableException
-
LeaderNotAvailableException
-