org.apache.spark.streaming.kafka
Represents a range of offsets from a single Kafka TopicAndPartition. Instances of this class can be created with OffsetRange.create().
OffsetRange.create()
Number of messages this OffsetRange refers to
Inclusive starting offset
Kafka partition id
Kafka topic name
Kafka TopicAndPartition object, for convenience
Exclusive ending offset
Represents a range of offsets from a single Kafka TopicAndPartition. Instances of this class can be created with
OffsetRange.create()
.