Skip to content

DeploymentBasedQueueBalancer Constructors

DeploymentBasedQueueBalancer is a stream queue balancer that uses deployment information to help balance queue distribution. DeploymentBasedQueueBalancer uses the deployment configuration to determine how many silos to expect and uses a silo status oracle to determine which of the silos are available. With this information it tries to balance the queues using a best fit resource balancing algorithm.

DeploymentBasedQueueBalancer(ISiloStatusOracle, IDeploymentConfiguration, DeploymentBasedQueueBalancerOptions, IServiceProvider, ILogger<DeploymentBasedQueueBalancer>)

View source
public DeploymentBasedQueueBalancer(ISiloStatusOracle siloStatusOracle, IDeploymentConfiguration deploymentConfig, DeploymentBasedQueueBalancerOptions options, IServiceProvider services, ILogger<DeploymentBasedQueueBalancer> logger)

Parameters

siloStatusOracleISiloStatusOracle
deploymentConfigIDeploymentConfiguration
optionsDeploymentBasedQueueBalancerOptions
servicesIServiceProvider
loggerILogger<DeploymentBasedQueueBalancer>