You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/07/18 10:00:42 UTC

(kafka) branch trunk updated: KAFKA-17141 'DescribeTopicPartitions API is not supported' warning message confuses users (#16612)

This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new c7c0de38897 KAFKA-17141 'DescribeTopicPartitions API is not supported' warning message confuses users (#16612)
c7c0de38897 is described below

commit c7c0de388970a2c201fa0557d19ed9ec6e7ecc73
Author: PoAn Yang <pa...@apache.org>
AuthorDate: Thu Jul 18 18:00:35 2024 +0800

    KAFKA-17141 'DescribeTopicPartitions API is not supported' warning message confuses users (#16612)
    
    Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
 .../src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java b/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java
index 646ed43a8aa..640a08a3786 100644
--- a/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java
+++ b/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java
@@ -2296,7 +2296,6 @@ public class KafkaAdminClient extends AdminClient {
             @Override
             boolean handleUnsupportedVersionException(UnsupportedVersionException exception) {
                 final long now = time.milliseconds();
-                log.warn("The DescribeTopicPartitions API is not supported, using Metadata API to describe topics.");
                 runnable.call(generateDescribeTopicsCallWithMetadataApi(topicNamesList, topicFutures, options, now), now);
                 return false;
             }