public void Configure(ISiloBuilder hostBuilder) { hostBuilder.AddCustomStorageBasedLogConsistencyProvider("StateStorage"); hostBuilder.AddCustomStorageBasedLogConsistencyProvider("LogStorage"); hostBuilder.AddCustomStorageBasedLogConsistencyProvider("CustomStorage"); hostBuilder.AddCustomStorageBasedLogConsistencyProvider("CustomStoragePrimaryCluster", "A"); }
/// <summary> /// Adds a custom storage log consistency provider as default consistency provider"/> /// </summary> public static ISiloBuilder AddCustomStorageBasedLogConsistencyProviderAsDefault(this ISiloBuilder builder, string primaryCluster = null) { return(builder.AddCustomStorageBasedLogConsistencyProvider(ProviderConstants.DEFAULT_STORAGE_PROVIDER_NAME, primaryCluster)); }