Class OffsetOutOfRangeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.clients.consumer.InvalidOffsetException
-
- org.apache.kafka.clients.consumer.OffsetOutOfRangeException
-
- All Implemented Interfaces:
java.io.Serializable
public class OffsetOutOfRangeException extends InvalidOffsetException
No reset policy has been defined, and the offsets for these partitions are either larger or smaller than the range of offsets the server has for the given partition.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OffsetOutOfRangeException(java.util.Map<TopicPartition,java.lang.Long> offsetOutOfRangePartitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<TopicPartition,java.lang.Long>
offsetOutOfRangePartitions()
java.util.Set<TopicPartition>
partitions()
-
-
-
Constructor Detail
-
OffsetOutOfRangeException
public OffsetOutOfRangeException(java.util.Map<TopicPartition,java.lang.Long> offsetOutOfRangePartitions)
-
-
Method Detail
-
offsetOutOfRangePartitions
public java.util.Map<TopicPartition,java.lang.Long> offsetOutOfRangePartitions()
-
partitions
public java.util.Set<TopicPartition> partitions()
- Specified by:
partitions
in classInvalidOffsetException
-
-