Share via


EventProcessorOptions.DefaultStartingPosition Property

Definition

The position within a partition where the event processor should begin reading events when no checkpoint can be found.

public Azure.Messaging.EventHubs.Consumer.EventPosition DefaultStartingPosition { get; set; }
member this.DefaultStartingPosition : Azure.Messaging.EventHubs.Consumer.EventPosition with get, set
Public Property DefaultStartingPosition As EventPosition

Property Value

Remarks

In the event that a custom starting point is desired for a single partition, or each partition should start at a unique place, it is recommended that those values be returned by the Azure.Messaging.EventHubs.Primitives.EventProcessor`1.ListCheckpointsAsync(System.Threading.CancellationToken) method as if they were previously saved checkpoints.

The default starting position is Earliest.

Applies to

See also

  • <xref:Azure.Messaging.EventHubs.Primitives.EventProcessor%601.ListCheckpointsAsync(System.Threading.CancellationToken)>