public class UniformLoadShedder extends Object implements LoadSheddingStrategy
ServiceConfiguration.getLoadBalancerMsgRateDifferenceShedderThreshold() or
ServiceConfiguration#loadBalancerMsgThroughputMultiplierDifferenceShedderThreshold() then it finds out
bundles which can be unloaded to distribute traffic evenly across all brokers.| Constructor and Description |
|---|
UniformLoadShedder() |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,String> |
findBundlesForUnloading(LoadData loadData,
ServiceConfiguration conf)
Attempt to shed some bundles off every broker which is overloaded.
|
public com.google.common.collect.Multimap<String,String> findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf)
findBundlesForUnloading in interface LoadSheddingStrategyloadData - The load data to used to make the unloading decision.conf - The service configuration.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.