Chia-Ping Tsai created KAFKA-21376:
--------------------------------------

             Summary: Move AdminUtils#fetchOrWaitForLeader to clients test 
fixtures and consolidate it with ClusterInstance#getLeaderBrokerId
                 Key: KAFKA-21376
                 URL: https://issues.apache.org/jira/browse/KAFKA-21376
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


We have the test fixtures source set in clients now, so 
{{AdminUtils#fetchOrWaitForLeader}} can be moved there. Also, 
{{ClusterInstance#getLeaderBrokerId}} does the same thing but throws NPE when 
the partition has no leader, so it should be replaced by 
{{fetchOrWaitForLeader}} and the two consolidated.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to