From 88adb94c818299ef24b30aa61aeebdc80efbcbb3 Mon Sep 17 00:00:00 2001 From: "Chung, Ming-Yen" Date: Wed, 25 Dec 2024 14:46:14 +0800 Subject: [PATCH] KAFKA-18093 Remove deprecated DeleteTopicsResult#values (#18250) Reviewers: Chia-Ping Tsai --- .../apache/kafka/clients/admin/DeleteTopicsResult.java | 10 ---------- docs/upgrade.html | 2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/DeleteTopicsResult.java b/clients/src/main/java/org/apache/kafka/clients/admin/DeleteTopicsResult.java index 725b82a78dee8..8ab7cdd801baf 100644 --- a/clients/src/main/java/org/apache/kafka/clients/admin/DeleteTopicsResult.java +++ b/clients/src/main/java/org/apache/kafka/clients/admin/DeleteTopicsResult.java @@ -70,16 +70,6 @@ public Map> 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> values() { - return nameFutures; - } - /** * @return a future which succeeds only if all the topic deletions succeed. */ diff --git a/docs/upgrade.html b/docs/upgrade.html index a328532a5c7c5..56b2ebda4e2f2 100644 --- a/docs/upgrade.html +++ b/docs/upgrade.html @@ -211,6 +211,8 @@
Notable changes in 4 DEAD if the group ID was not found. In Apache Kafka 4.0, the GroupIdNotFoundException is thrown instead as part of the support for new types of group. +
  • The org.apache.kafka.clients.admin.DeleteTopicsResult.values() method was removed. + Please use org.apache.kafka.clients.admin.DeleteTopicsResult.topicNameValues() instead.
  • The org.apache.kafka.clients.admin.TopicListing.TopicListing(String, boolean) method was removed. Please use org.apache.kafka.clients.admin.TopicListing.TopicListing(String, Uuid, boolean) instead.