SiloPersistentStreamConfiguratorExtension.UseAzureDeploymentLeaseBasedBalancer 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用 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
参数
- configurator
- ISiloPersistentStreamConfigurator
- configureOptions
- Action<OptionsBuilder<LeaseBasedQueueBalancerOptions>>