OffsetMaster class
Master of Offsets.
Encapsulates auto-discovery logic for fetching topic offsets.
Constructors
- OffsetMaster(KafkaSession session)
- Creates new OffsetMaster.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → KafkaSession
-
Instance of KafkaSession.
final
Methods
-
fetchEarliest(
Map< String, Set< topicPartitions) → Future<int> >List< TopicOffset> > - Returns earliest offsets for specified topics and partitions.
-
fetchLatest(
Map< String, Set< topicPartitions) → Future<int> >List< TopicOffset> > - Returns latest offsets (that is the offset of next incoming message) for specified topics and partitions.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited