Skip to content

SiloBuilderExtensions.AddEventHubStreams(ISiloBuilder, string, Action<EventHubOptions>, Action<AzureTableStreamCheckpointerOptions>)

AddEventHubStreams(ISiloBuilder, string, Action<EventHubOptions>, Action<AzureTableStreamCheckpointerOptions>)

staticextension
View source
public static ISiloBuilder AddEventHubStreams(this ISiloBuilder builder, string name, Action<EventHubOptions> configureEventHub, Action<AzureTableStreamCheckpointerOptions> configureDefaultCheckpointer)
Adds a named Azure Event Hubs persistent stream provider using Azure Table Storage for checkpoints.

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureEventHubAction<EventHubOptions>
The delegate used to configure the Event Hub connection.
configureDefaultCheckpointerAction<AzureTableStreamCheckpointerOptions>
The delegate used to configure the Azure Table Storage checkpointer.

Returns

The silo builder.