Uses of Class
org.apache.pulsar.broker.loadbalance.LoadData
Packages that use LoadData
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
Uses of LoadData in org.apache.pulsar.broker.loadbalance
Methods in org.apache.pulsar.broker.loadbalance with parameters of type LoadDataModifier and TypeMethodDescriptionvoidBrokerFilter.filter(Set<String> brokers, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) From the given set of available broker candidates, filter those using the load data.LoadSheddingStrategy.findBundlesForUnloading(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Recommend that all of the returned bundles be unloaded.BundleSplitStrategy.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles, if any, should be split.ModularLoadManagerStrategy.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Find a suitable broker to assign the given bundle to. -
Uses of LoadData in org.apache.pulsar.broker.loadbalance.impl
Methods in org.apache.pulsar.broker.loadbalance.impl with parameters of type LoadDataModifier and TypeMethodDescriptionvoidBrokerVersionFilter.filter(Set<String> brokers, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) From the given set of available broker candidates, filter those using the version numbers.static voidLoadManagerShared.filterBrokersWithLargeTopicCount(Set<String> brokerCandidateCache, LoadData loadData, int loadBalancerBrokerMaxTopics) It filters out brokers which owns topic higher than configured threshold at ServiceConfiguration.loadBalancerBrokerMaxTopics.DeviationShedder.findBundlesForUnloading(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Recommend that all of the returned bundles be unloaded based on observing excessive standard deviations according to some metric.OverloadShedder.findBundlesForUnloading(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Attempt to shed some bundles off every broker which is overloaded.ThresholdShedder.findBundlesForUnloading(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) UniformLoadShedder.findBundlesForUnloading(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Attempt to shed some bundles off every broker which is overloaded.BundleSplitterTask.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles should be split based on various thresholds.com.github.zafarkhaja.semver.VersionBrokerVersionFilter.getLatestVersionNumber(Set<String> brokers, LoadData loadData) Get the most recent broker version number from the load reports of all the running brokers.LeastLongTermMessageRate.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Find a suitable broker to assign the given bundle to.LeastResourceUsageWithWeight.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf) Find a suitable broker to assign the given bundle to.