Edit

Share via


SiloPersistentStreamConfiguratorExtension.UseAzureDeploymentLeaseBasedBalancer Method

Definition

Stream queue balancer that uses Azure deployment information for load balancing. Requires silo running in Azure. This balancer supports queue balancing in cluster auto-scale scenario, unexpected server failure scenario, and try to support ideal distribution

public static Orleans.Streams.ISiloPersistentStreamConfigurator UseAzureDeploymentLeaseBasedBalancer (this Orleans.Streams.ISiloPersistentStreamConfigurator configurator, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> configureOptions = default);
static member UseAzureDeploymentLeaseBasedBalancer : Orleans.Streams.ISiloPersistentStreamConfigurator * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.LeaseBasedQueueBalancerOptions>> -> Orleans.Streams.ISiloPersistentStreamConfigurator
<Extension()>
Public Function UseAzureDeploymentLeaseBasedBalancer (configurator As ISiloPersistentStreamConfigurator, Optional configureOptions As Action(Of OptionsBuilder(Of LeaseBasedQueueBalancerOptions)) = Nothing) As ISiloPersistentStreamConfigurator

Parameters

Returns

Applies to