Package org.apache.pulsar.broker.loadbalance.impl
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-
Interface Summary Interface Description LoadManagerShared.BrokerTopicLoadingPredicate -
Class Summary Class Description BrokerVersionFilter BundleSplitterTask Determines which bundles should be split based on various thresholds.DeviationShedder An abstract class which makes a LoadSheddingStrategy which makes decisions based on standard deviation easier to implement.GenericBrokerHostUsageImpl Class that will return the broker host usage.LeastLongTermMessageRate Placement strategy which selects a broker based on which one has the least long term message rate.LinuxBrokerHostUsageImpl Class that will return the broker host usage.LoadManagerShared This class contains code which in shared between the two load manager implementations.ModularLoadManagerImpl ModularLoadManagerWrapper Wrapper class allowing classes of instance ModularLoadManager to be compatible with the interface LoadManager.OverloadShedder 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.PulsarLoadReportImpl PulsarResourceDescription PulsarServiceRequest PulsarServiceUnit ResourceAvailabilityRanker SimpleLoadCalculatorImpl SimpleLoadManagerImpl SimpleResourceAllocationPolicies SimpleResourceUnit ThresholdShedder Load shedding strategy that unloads any broker that exceeds the average resource utilization of all brokers by a configured threshold.WRRPlacementStrategy This class implements PlacementStrategy based on Weighted Round Robin Algorithm.