AddPersistentStreams(IClientBuilder, string, Func<IServiceProvider, string, IQueueAdapterFactory>, Action<IClusterClientPersistentStreamConfigurator>)
staticextension
public static IClientBuilder AddPersistentStreams(this IClientBuilder builder, string name, Func<IServiceProvider, string, IQueueAdapterFactory> adapterFactory, Action<IClusterClientPersistentStreamConfigurator> configureStream) Adds a new persistent streams provider to the client.
Parameters
builderIClientBuilder- The builder.
namestring- The stream provider name.
adapterFactoryFunc<IServiceProvider, string, IQueueAdapterFactory>- The adapter factory.
configureStreamAction<IClusterClientPersistentStreamConfigurator>- The configuration delegate.
Returns
The client builder.
