Skip to content

StreamSubscriptionStartPosition

enum

Namespace: Orleans.Streams

Specifies the initial position of a rewindable persistent stream subscription.
public enum StreamSubscriptionStartPosition

Remarks

During a rolling deployment, use start-position subscriptions after the silos hosting persistent-stream pulling agents have been upgraded to a version which supports this enum.

Fields

NameValueDescription
Latest0Begins with messages published after the subscription is established.
EarliestAvailable1Begins inclusively at the earliest message for the target stream currently retained in the local queue cache. When the cache has no retained message for the stream, delivery begins with its first future message.