Skip to content

CustomStorageSiloBuilderExtensions.AddCustomStorageBasedLogConsistencyProviderAsDefault(ISiloBuilder, string?)

AddCustomStorageBasedLogConsistencyProviderAsDefault(ISiloBuilder, string?)

staticextension
View source
public static ISiloBuilder AddCustomStorageBasedLogConsistencyProviderAsDefault(this ISiloBuilder builder, string? primaryCluster = null)
Adds a custom-storage log consistency provider as the default log consistency provider.

Parameters

builderISiloBuilder
The silo builder.
primaryClusterstring?
The cluster identifier stored in the provider options and passed to each custom-storage adaptor. Custom-storage adaptors accept submissions from every cluster.

Returns

The silo builder.