Skip to content

EventHubCheckpointerFactory Methods

Creates Event Hub partition checkpointers backed by Azure Table Storage.

Create(string)

View source
public Task<IStreamQueueCheckpointer<string>> Create(string partition)
Creates a stream checkpointer for the specified partition.

Parameters

partitionstring
The partition.

Returns

The stream checkpointer.

CreateFactory(IServiceProvider, string)

static
View source
public static IStreamQueueCheckpointerFactory CreateFactory(IServiceProvider services, string providerName)
Creates an Event Hub partition checkpointer factory.

Parameters

servicesIServiceProvider
The service provider.
providerNamestring
The stream provider name.

Returns

The checkpointer factory.