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:
java.io.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(java.lang.String message)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract java.util.Set<TopicPartition>
partitions()
-
-
-
Method Detail
-
partitions
public abstract java.util.Set<TopicPartition> partitions()
-
-