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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla