SiloPersistentStreamConfiguratorExtension.UseAzureDeploymentLeaseBasedBalancer 方法

定义

使用 Azure 部署信息进行负载均衡的流式队列均衡器。 需要在 Azure 中运行的孤岛。 此负载均衡器支持群集自动缩放方案中的队列均衡、意外的服务器故障方案,并尝试支持理想的分发

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

参数

返回

适用于