Class FencedLeaderEpochException

All Implemented Interfaces:

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:
  • Constructor Details

    • FencedLeaderEpochException

      public FencedLeaderEpochException(String message)
    • FencedLeaderEpochException

      public FencedLeaderEpochException(String message, Throwable cause)