Package com.markosindustries.distroboy.kafka
package com.markosindustries.distroboy.kafka
-
ClassDescriptionLoad the earliest offsets from Kafka for each partition.Specifies how to load offsets for a given set of Kafka partitions.Provides an
Iterator
interface to the data in Kafka for a given set ofTopicPartition
s.ADataSource
which will yield all TopicPartitions available on the Kafka cluster for a given set of topics.Load the latest offsets from Kafka for each partition.Returns offsets from a set of offset specs in the order specified until one has been found for each partition requested, or there are no more offset specs in the listFlatMap a given set of TopicPartitions by loading all records from the starting offsets (inclusive) to the ending offsets (exclusive) specified.Return offsets for each partition by looking up the given timestamp.