Class PubSubSymbolicPosition

java.lang.Object
com.linkedin.venice.pubsub.api.PubSubSymbolicPosition

public final class PubSubSymbolicPosition extends Object
  • Field Details

    • EARLIEST

      public static final PubSubPosition 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

      public static final PubSubPosition 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()