You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2024/07/16 02:22:00 UTC

[jira] [Created] (KAFKA-17141) "DescribeTopicPartitions API is not supported" warning message confuses users

Luke Chen created KAFKA-17141:
---------------------------------

             Summary: "DescribeTopicPartitions API is not supported" warning message confuses users
                 Key: KAFKA-17141
                 URL: https://issues.apache.org/jira/browse/KAFKA-17141
             Project: Kafka
          Issue Type: Improvement
            Reporter: Luke Chen


When running describeTopics admin API, we'll try to invoke DescribeTopicPartitions request, and fallback to metadata request if not supported, and then log a warning message:
{code:java}
2024-07-15 19:03:34 WARN  KafkaAdminClient:2293 - [AdminClient clientId=adminclient-17] The DescribeTopicPartitions API is not supported, using Metadata API to describe topics.{code}
 

When seeing this warning message, users might think something is wrong with this call. We should try to improve it. Maybe:
1. log it with an INFO level or DEBUG level

2. Make the message clear to not to confuse users

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)