EventHubCheckpointer
class
Namespace: Orleans.Streaming.EventHubs
This class stores EventHub partition checkpointer information (a partition offset) in azure table storage.
public class EventHubCheckpointer : IStreamQueueCheckpointer<string>Properties
CheckpointExistsIndicates if a checkpoint exists
Methods
Create(AzureTableStreamCheckpointerOptions, string, string, string, ILoggerFactory)Factory function that creates and initializes the checkpointerFlushAsync(CancellationToken)Flushes any pending checkpoint to persistent storage. Awaits any in-progress save, then persists the latest offset if it has advanced beyond the last saved value.LoadLoads a checkpointUpdate(string, DateTime)Updates the checkpoint. This is a best effort. It does not always update the checkpoint. The latest offset is always tracked in memory so thatEventHubCheckpointercan persist it on shutdown.
