Skip to content

SiloBuilderExtensions Methods

Extension methods for configuring Azure Event Hubs stream providers on an Orleans silo.

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.

AddEventHubStreams(ISiloBuilder, string, Action<ISiloEventHubStreamConfigurator>)

staticextension
View source
public static ISiloBuilder AddEventHubStreams(this ISiloBuilder builder, string name, Action<ISiloEventHubStreamConfigurator> configure)
Adds a named Azure Event Hubs persistent stream provider to the silo.

Parameters

builderISiloBuilder
The silo builder.
namestring
The stream provider name.
configureAction<ISiloEventHubStreamConfigurator>
The delegate used to configure the stream provider.

Returns

The silo builder.