Class FencedLeaderEpochException

  • All Implemented Interfaces:
    java.io.Serializable

    public class FencedLeaderEpochException
    extends InvalidMetadataException
    The request contained a leader epoch which is smaller than that on the broker that received the request. This can happen when an operation is attempted before a pending metadata update has been received. Clients will typically refresh metadata before retrying.
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FencedLeaderEpochException

        public FencedLeaderEpochException​(java.lang.String message)
      • FencedLeaderEpochException

        public FencedLeaderEpochException​(java.lang.String message,
                                          java.lang.Throwable cause)