Skip to content

ZooKeeperHostingExtensions.UseZooKeeperClustering(IClientBuilder, Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>)

UseZooKeeperClustering(IClientBuilder, Action<OptionsBuilder<ZooKeeperGatewayListProviderOptions>>)

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

Parameters

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

Returns

The provided IClientBuilder.