You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/10/27 19:27:00 UTC
[jira] [Created] (KAFKA-21376) Move AdminUtils#fetchOrWaitForLeader to clients test fixtures and consolidate it with ClusterInstance#getLeaderBrokerId
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)