Jun Rao created KAFKA-7299:
------------------------------

             Summary: batch LeaderAndIsr requests during auto preferred leader 
election
                 Key: KAFKA-7299
                 URL: https://issues.apache.org/jira/browse/KAFKA-7299
             Project: Kafka
          Issue Type: Sub-task
          Components: core
    Affects Versions: 2.0.0
            Reporter: Jun Rao


Currently, in KafkaController.checkAndTriggerAutoLeaderRebalance(), we call 
onPreferredReplicaElection() one partition at a time. This means that the 
controller will be sending LeaderAndIsrRequest one partition at a time. It 
would be more efficient to call onPreferredReplicaElection() for a batch of 
partitions to reduce the number of LeaderAndIsrRequests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to