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 org.apache.kafka.common.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.
See Also:
  • Constructor Details

    • InvalidOffsetException

      public InvalidOffsetException(String message)
  • Method Details

    • partitions

      public abstract Set<org.apache.kafka.common.TopicPartition> partitions()