TopicOffset class
Represents an offset of particular topic and partition.
Constructors
- TopicOffset(String topicName, int partitionId, int offset)
- TopicOffset.earliest(String topicName, int partitionId)
- Creates pseudo-offset which refers to earliest offset in this topic and partition.
- TopicOffset.latest(String topicName, int partitionId)
- Creates pseudo-offset which refers to latest offset in this topic and partition.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEarliest → bool
-
Indicates whether this is an earliest pseudo-offset.
no setter
- isLatest → bool
-
Indicates whether this is a latest pseudo-offset.
no setter
- offset → int
-
final
- partitionId → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topicName → String
-
final
Methods
-
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