Package org.apache.kafka.common.errors
Class FencedLeaderEpochException
- 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.InvalidMetadataException
-
- org.apache.kafka.common.errors.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
-
-
Constructor Summary
Constructors Constructor Description FencedLeaderEpochException(java.lang.String message)
FencedLeaderEpochException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-