Package com.linkedin.venice.pubsub.api
Class PubSubSymbolicPosition
java.lang.Object
com.linkedin.venice.pubsub.api.PubSubSymbolicPosition
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PubSubPosition
Singleton instance representing the earliest retrievable position in a partition.static final PubSubPosition
Singleton instance representing the latest retrievable position in a partition. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
EARLIEST
Singleton instance representing the earliest retrievable position in a partition. Acts as a symbolic marker to start consuming from the beginning.- See Also:
-
EarliestPosition
-
LATEST
Singleton instance representing the latest retrievable position in a partition. Acts as a symbolic marker to start consuming from the tail of the stream. When resolved, this maps to the end position of the topic partition, which is defined as the offset of the last record in the topic plus one (i.e., the offset that would be assigned to the next produced record).- See Also:
-
LatestPosition
-
-
Constructor Details
-
PubSubSymbolicPosition
public PubSubSymbolicPosition()
-