Picks one of the alive replicas (other than the current leader) in ISR as new leader, fails if there are no other replicas in ISR.
Essentially does nothing.
This API selects a new leader for the input partition - 1.
This class represents the state machine for partitions.
Starts the partition reassignment process unless - 1.
Starts the preferred replica leader election for the list of partitions specified under /admin/preferred_replica_election -
Picks the preferred replica as the new leader if - 1.
Picks one of the alive in-sync reassigned replicas as the new leader.
This class represents the state machine for replicas.