Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4445

PreferredLeaderElectionCommand should query zk only once per topic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.2.0
    • None
    • None

    Description

      Currently PreferredLeaderElection will query zookeeper once for every partition that are included in the preferred leader election. This is very inefficient and makes the preferred leader election script slow. It should only query zookeeper once per topic.

      In addition, the script currently reports that the preferred leader election is successfully even if some partitions are not found in the zookeeper.

      Attachments

        Issue Links

          Activity

            People

              lindong Dong Lin
              lindong Dong Lin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: