Interface | Description |
---|---|
Goal |
This is the interface of the optimization goals used by Cruise Control.
|
Goal.ClusterModelStatsComparator |
A comparator that compares two cluster model stats.
|
Class | Description |
---|---|
AbstractGoal |
An abstract class for goals.
|
CapacityGoal |
HARD GOAL: Generate leadership and replica movement proposals to push the load on brokers and/or hosts under the
capacity limit.
|
CpuCapacityGoal | |
CpuUsageDistributionGoal | |
DiskCapacityGoal | |
DiskUsageDistributionGoal | |
GoalOptimizationResult | |
GoalOptimizationResult.Builder | |
GoalUtils |
A util class for goals.
|
IntraBrokerDiskCapacityGoal |
Class for achieving the following hard goal:
HARD GOAL: Generate replica movement proposals between disks of the same broker to push the load on each disk of broker
under the capacity limit.
|
IntraBrokerDiskUsageDistributionGoal |
Class for achieving the following soft goal:
SOFT GOAL: For each broker rebalance disk usage to push each disk's utilization percentage within range around the
utilization percentage of the whole broker.
|
LeaderBytesInDistributionGoal |
Soft goal to distribute leader bytes evenly.
|
LeaderReplicaDistributionGoal |
SOFT GOAL: Generate leadership movement and leader replica movement proposals to ensure that the number of leader replicas
on each broker is
Under: (the average number of leader replicas per broker) * (1 + leader replica count balance percentage)
Above: (the average number of leader replicas per broker) * Math.max(0, 1 - leader replica count balance percentage)
|
NetworkInboundCapacityGoal | |
NetworkInboundUsageDistributionGoal | |
NetworkOutboundCapacityGoal | |
NetworkOutboundUsageDistributionGoal | |
PotentialNwOutGoal |
SOFT GOAL: Generate proposals to keep the outbound network utilization on a broker such that even if all partitions
within the broker become the leader, the outbound network utilization would not exceed the corresponding broker
capacity threshold.
|
PreferredLeaderElectionGoal |
SOFT GOAL: Simply move the leaders to the first replica of each partition.
|
RackAwareGoal |
HARD GOAL: Generate replica movement proposals to provide rack-aware replica distribution.
|
ReplicaCapacityGoal |
HARD GOAL: Generate replica movement proposals to ensure that each broker has less than the given number of replicas.
|
ReplicaDistributionAbstractGoal |
An abstract class for replica distribution goals.
|
ReplicaDistributionGoal |
SOFT GOAL: Generate replica movement proposals to ensure that the number of replicas on each broker is
Under: (the average number of replicas per broker) * (1 + replica count balance percentage)
Above: (the average number of replicas per broker) * Math.max(0, 1 - replica count balance percentage)
|
ResourceDistributionGoal |
SOFT GOAL: Balance
Resource distribution over brokers. |
TopicReplicaDistributionGoal |
SOFT GOAL: Balance collocations of replicas of the same topic.
|
Enum | Description |
---|---|
ReplicaDistributionAbstractGoal.ChangeType |
Whether bring replica in or out.
|
ResourceDistributionGoal.ChangeType |
Whether bring load in or bring load out.
|