Package org.apache.pulsar.broker.loadbalance
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.
-
ClassDescriptionLoad management component which determines what brokers should not be considered for topic placement by the placement strategy.Class that will return the broker host usage.Load Manager component which determines what bundles should be split into two bundles.A class to hold the contents of the leader election node.A class that provides way to elect the leader among brokers.This interface class defines how we calculator the resource requirement per service unit based on the ServiceRequest.This class represents all data that could be relevant when making a load management decision.LoadManager runs through set of load reports collected from different brokers and generates a recommendation of namespace/ServiceUnit placement on machines/ResourceUnit.Represents a task which reads load report from zookeeper for all the brokers and updates the ranking.LoadManager namespace bundle quota update task.Load management component which determines the criteria for unloading bundles.LoadManager load shedding task.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.Interface which serves as a component for ModularLoadManagerImpl, flexibly allowing the injection of potentially complex strategies.