Package org.apache.pulsar.broker.loadbalance.impl
package org.apache.pulsar.broker.loadbalance.impl
-
ClassDescriptionThe cache for the bundle ranges.Determines which bundles should be split based on various thresholds.Class that will return the broker host usage.Placement strategy which selects a broker based on which one has the least long term message rate.Placement strategy which selects a broker based on which one has the least resource usage with weight.Class that will return the broker host usage.This class contains code which in shared between the two load manager implementations.Wrapper class allowing classes of instance ModularLoadManager to be compatible with the interface LoadManager.Load shedding strategy which will attempt to shed exactly one bundle on brokers which are overloaded, that is, whose maximum system resource usage exceeds loadBalancerBrokerOverloadedThresholdPercentage.Simple Round Robin Broker Selection Strategy.Load shedding strategy that unloads any broker that exceeds the average resource utilization of all brokers by a configured threshold.This strategy tends to distribute load uniformly across all brokers.This class implements PlacementStrategy based on Weighted Round Robin Algorithm.