Package org.apache.kafka.common.errors
Class OffsetNotAvailableException
- 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.OffsetNotAvailableException
-
- All Implemented Interfaces:
Serializable
public class OffsetNotAvailableException extends RetriableException
Indicates that the leader is not able to guarantee monotonically increasing offsets due to the high watermark lagging behind the epoch start offset after a recent leader election- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OffsetNotAvailableException(String message)
-
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 Detail
-
OffsetNotAvailableException
public OffsetNotAvailableException(String message)
-
-