Class LeaderNotAvailableException

  • All Implemented Interfaces:
    Serializable

    public class LeaderNotAvailableException
    extends InvalidMetadataException
    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:
    Serialized Form
    • Constructor Detail

      • LeaderNotAvailableException

        public LeaderNotAvailableException​(String message)
      • LeaderNotAvailableException

        public LeaderNotAvailableException​(String message,
                                           Throwable cause)