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}.