EventProcessorOptions.DefaultStartingPosition Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)>
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for