Skip to content

SiloBuilderExtensions Methods

Provides extension methods for configuring Amazon SQS-backed persistent streams on Orleans silos.

AddSqsStreams(ISiloBuilder, string, Action<SiloSqsStreamConfigurator>)

staticextension
View source
public static ISiloBuilder AddSqsStreams(this ISiloBuilder builder, string name, Action<SiloSqsStreamConfigurator> configure)
Configures the silo to use an Amazon SQS-backed persistent stream provider.

Parameters

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

Returns

The silo builder.

AddSqsStreams(ISiloBuilder, string, Action<SqsOptions>)

staticextension
View source
public static ISiloBuilder AddSqsStreams(this ISiloBuilder builder, string name, Action<SqsOptions> configureOptions)
Configures the silo to use an Amazon SQS-backed persistent stream provider.

Parameters

builderISiloBuilder
The silo builder.
namestring
The name of the stream provider.
configureOptionsAction<SqsOptions>
The delegate used to configure the SQS options.

Returns

The silo builder.