Skip to content

ZooKeeperHostingExtensions.UseZooKeeperClustering(IClientBuilder, Action<ZooKeeperGatewayListProviderOptions>)

UseZooKeeperClustering(IClientBuilder, Action<ZooKeeperGatewayListProviderOptions>)

staticextension
View source
public static IClientBuilder UseZooKeeperClustering(this IClientBuilder builder, Action<ZooKeeperGatewayListProviderOptions> configureOptions)
Configure the client to use ZooKeeper for clustering.

Parameters

builderIClientBuilder
The builder.
configureOptionsAction<ZooKeeperGatewayListProviderOptions>
The configuration delegate.

Returns

The provided IClientBuilder.