Package org.apache.pulsar.broker.loadbalance
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 BrokerFilter Load management component which determines what brokers should not be considered for topic placement by the placement strategy.BrokerHostUsage Class that will return the broker host usage.BundleSplitStrategy Load Manager component which determines what bundles should be split into two bundles.LoadCalculator This interface class defines how we calculator the resource requirement per service unit based on the ServiceRequest.LoadManager LoadManager runs through set of load reports collected from different brokers and generates a recommendation of namespace/ServiceUnit placement on machines/ResourceUnit.LoadRanker LoadReport LoadSheddingStrategy Load management component which determines the criteria for unloading bundles.ModularLoadManager New proposal for a load manager interface which attempts to use more intuitive method names and provide a starting place for new load manager proposals.ModularLoadManagerStrategy Interface which serves as a component for ModularLoadManagerImpl, flexibly allowing the injection of potentially complex strategies.PlacementStrategy ResourceUnit -
Class Summary Class Description LeaderBroker A class to hold the contents of the leader election node.LeaderElectionService A class that provides way to elect the leader among brokers.LoadData This class represents all data that could be relevant when making a load management decision.LoadReportUpdaterTask Represents a task which reads load report from zookeeper for all the brokers and updates the ranking.LoadResourceQuotaUpdaterTask LoadManager namespace bundle quota update task.LoadSheddingTask LoadManager load shedding task.NoopLoadManager ResourceDescription ServiceRequest ServiceUnit -
Exception Summary Exception Description BrokerFilterBadVersionException BrokerFilterException