Skip to content

Commit 6b8cc5d

Browse files
authored
MINOR: Remove ZooKeeper mentions in Admin javadoc (apache#18531)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 753d685 commit 6b8cc5d

File tree

1 file changed

+3
-6
lines changed
  • clients/src/main/java/org/apache/kafka/clients/admin

1 file changed

+3
-6
lines changed

clients/src/main/java/org/apache/kafka/clients/admin/Admin.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,8 +1520,7 @@ default DescribeMetadataQuorumResult describeMetadataQuorum() {
15201520
/**
15211521
* Unregister a broker.
15221522
* <p>
1523-
* This operation does not have any effect on partition assignments. It is supported
1524-
* only on Kafka clusters which use Raft to store metadata, rather than ZooKeeper.
1523+
* This operation does not have any effect on partition assignments.
15251524
*
15261525
* This is a convenience method for {@link #unregisterBroker(int, UnregisterBrokerOptions)}
15271526
*
@@ -1537,17 +1536,15 @@ default UnregisterBrokerResult unregisterBroker(int brokerId) {
15371536
/**
15381537
* Unregister a broker.
15391538
* <p>
1540-
* This operation does not have any effect on partition assignments. It is supported
1541-
* only on Kafka clusters which use Raft to store metadata, rather than ZooKeeper.
1539+
* This operation does not have any effect on partition assignments.
15421540
*
15431541
* The following exceptions can be anticipated when calling {@code get()} on the future from the
15441542
* returned {@link UnregisterBrokerResult}:
15451543
* <ul>
15461544
* <li>{@link org.apache.kafka.common.errors.TimeoutException}
15471545
* If the request timed out before the describe operation could finish.</li>
15481546
* <li>{@link org.apache.kafka.common.errors.UnsupportedVersionException}
1549-
* If the software is too old to support the unregistration API, or if the
1550-
* cluster is not using Raft to store metadata.
1547+
* If the software is too old to support the unregistration API.
15511548
* </ul>
15521549
* <p>
15531550
*

0 commit comments

Comments
 (0)