You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Muralidhar Basani (Jira)" <ji...@apache.org> on 2026/10/27 21:08:00 UTC

[jira] [Assigned] (KAFKA-21376) Move AdminUtils#fetchOrWaitForLeader to clients test fixtures and consolidate it with ClusterInstance#getLeaderBrokerId

     [ 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)