This is an automated email from the ASF dual-hosted git repository. mimaison pushed a commit to branch 4.0 in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.0 by this push: new d268023d3a7 MINOR: Remove ZooKeeper mentions in Admin javadoc (#18531) d268023d3a7 is described below commit d268023d3a7008c6f1f340929b2bb2571b2e0ad6 Author: Mickael Maison <mimai...@users.noreply.github.com> AuthorDate: Wed Jan 15 10:33:30 2025 +0100 MINOR: Remove ZooKeeper mentions in Admin javadoc (#18531) Reviewers: Chia-Ping Tsai <chia7...@gmail.com> --- clients/src/main/java/org/apache/kafka/clients/admin/Admin.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 b24a3beb375..3cb6283f1f9 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 @@ -1520,8 +1520,7 @@ public interface Admin extends AutoCloseable { /** * Unregister a broker. * <p> - * This operation does not have any effect on partition assignments. It is supported - * only on Kafka clusters which use Raft to store metadata, rather than ZooKeeper. + * This operation does not have any effect on partition assignments. * * This is a convenience method for {@link #unregisterBroker(int, UnregisterBrokerOptions)} * @@ -1537,8 +1536,7 @@ public interface Admin extends AutoCloseable { /** * Unregister a broker. * <p> - * This operation does not have any effect on partition assignments. It is supported - * only on Kafka clusters which use Raft to store metadata, rather than ZooKeeper. + * This operation does not have any effect on partition assignments. * * The following exceptions can be anticipated when calling {@code get()} on the future from the * returned {@link UnregisterBrokerResult}: @@ -1546,8 +1544,7 @@ public interface Admin extends AutoCloseable { * <li>{@link org.apache.kafka.common.errors.TimeoutException} * If the request timed out before the describe operation could finish.</li> * <li>{@link org.apache.kafka.common.errors.UnsupportedVersionException} - * If the software is too old to support the unregistration API, or if the - * cluster is not using Raft to store metadata. + * If the software is too old to support the unregistration API. * </ul> * <p> *