From d76442e5a68e3350673e71d3e7de0a292abd7d73 Mon Sep 17 00:00:00 2001 From: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com> Date: Sat, 4 Oct 2025 23:51:58 +0800 Subject: [PATCH] MINOR: Fix a minor copy&paste typo in comments (#20634) Just a minor typo Reviewers: Liam Clarke-Hutchinson , Ken Huang , Chia-Ping Tsai --- clients/src/main/java/org/apache/kafka/clients/admin/Admin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java index 06ede9f620d..1d90a84a79b 100644 --- a/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java +++ b/clients/src/main/java/org/apache/kafka/clients/admin/Admin.java @@ -1903,7 +1903,7 @@ public interface Admin extends AutoCloseable { * Remove a voter node from the KRaft metadata quorum. * *

- * The clusterId in {@link AddRaftVoterOptions} is optional. + * The clusterId in {@link RemoveRaftVoterOptions} is optional. * If provided, the operation will only succeed if the cluster id matches the id * of the current cluster. If the cluster id does not match, the operation * will fail with {@link InconsistentClusterIdException}.