Package org.apache.kafka.common.errors
Class UnknownLeaderEpochException
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.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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UnknownLeaderEpochException(String message)
UnknownLeaderEpochException(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
-
UnknownLeaderEpochException
-
UnknownLeaderEpochException
-