Dong Lin created KAFKA-4445:
-------------------------------
Summary: PreferredLeaderElectionCommand should query zk only once
per topic
Key: KAFKA-4445
URL: https://issues.apache.org/jira/browse/KAFKA-4445
Project: Kafka
Issue Type: Bug
Reporter: Dong Lin
Assignee: Dong Lin
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)