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:
java.io.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(java.lang.String message)
UnknownLeaderEpochException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-