[
https://issues.apache.org/jira/browse/KAFKA-21376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Muralidhar Basani reassigned KAFKA-21376:
-----------------------------------------
Assignee: Muralidhar Basani (was: Chia-Ping Tsai)
> 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: Muralidhar Basani
> Priority: Minor
>
> 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)