Class UnknownLeaderEpochException

All Implemented Interfaces:
Serializable

public class UnknownLeaderEpochException extends RetriableException
The request contained a leader epoch which is larger than that on the broker that received the request. This can happen if the client observes a metadata update before it has been propagated to all brokers. Clients need not refresh metadata before retrying.
See Also:
  • Constructor Details

    • UnknownLeaderEpochException

      public UnknownLeaderEpochException(String message)
    • UnknownLeaderEpochException

      public UnknownLeaderEpochException(String message, Throwable cause)