Class InvalidOffsetException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.clients.consumer.InvalidOffsetException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NoOffsetForPartitionException
,OffsetOutOfRangeException
public abstract class InvalidOffsetException extends KafkaException
Thrown when the offset for a set of partitions is invalid (either undefined or out of range),
and no reset policy has been configured.
-
Constructor Summary
Constructors Constructor Description InvalidOffsetException(String message)
-
Method Summary
Modifier and Type Method Description abstract Set<TopicPartition>
partitions()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidOffsetException
-
-
Method Details
-
partitions
-