AutoPreferredReplicaLeaderElection Controller Event
AutoPreferredReplicaLeaderElection
is a controller event that transition the KafkaController to AutoLeaderBalance
state.
AutoPreferredReplicaLeaderElection
is enqueued (to the ControllerEventManager) exclusively from the auto-leader-rebalance-task.
When processed on a controller broker, AutoPreferredReplicaLeaderElection
event checkAndTriggerAutoLeaderRebalance and in the end scheduleAutoLeaderRebalanceTask with the delay as configured using the leader.imbalance.check.interval.seconds property.
Note
|
AutoPreferredReplicaLeaderElection event is ignored (skipped) when processed on any broker but controller broker.
|