Skip to content

Commit

Permalink
KAFKA-18093 Remove deprecated DeleteTopicsResult#values (#18250)
Browse files Browse the repository at this point in the history
Reviewers: Chia-Ping Tsai <[email protected]>
  • Loading branch information
mingyen066 authored and chia7712 committed Dec 25, 2024
1 parent 6635d82 commit b0fb35c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ public Map<String, KafkaFuture<Void>> topicNameValues() {
return nameFutures;
}

/**
* @return a map from topic names to futures which can be used to check the status of
* individual deletions if the deleteTopics request used topic names. Otherwise return null.
* @deprecated Since 3.0 use {@link #topicNameValues} instead
*/
@Deprecated
public Map<String, KafkaFuture<Void>> values() {
return nameFutures;
}

/**
* @return a future which succeeds only if all the topic deletions succeed.
*/
Expand Down
2 changes: 2 additions & 0 deletions docs/upgrade.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ <h5><a id="upgrade_400_notable" href="#upgrade_400_notable">Notable changes in 4
<code>DEAD</code> if the group ID was not found. In Apache Kafka 4.0, the <code>GroupIdNotFoundException</code>
is thrown instead as part of the support for new types of group.
</li>
<li>The <code>org.apache.kafka.clients.admin.DeleteTopicsResult.values()</code> method was removed.
Please use <code>org.apache.kafka.clients.admin.DeleteTopicsResult.topicNameValues()</code> instead.
<li>The <code>org.apache.kafka.clients.admin.TopicListing.TopicListing(String, boolean)</code> method was removed.
Please use <code>org.apache.kafka.clients.admin.TopicListing.TopicListing(String, Uuid, boolean)</code> instead.
</li>
Expand Down

0 comments on commit b0fb35c

Please sign in to comment.