[
https://issues.apache.org/jira/browse/KAFKA-17141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866222#comment-17866222
]
PoAn Yang commented on KAFKA-17141:
-----------------------------------
Hi Luke, how about changing log to DEBUG level and use message like:
"The DescribeTopicPartitions request API version is not supported, falling back
to use Metadata API to describe topics."
> "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
> Priority: Major
> Labels: newbie
>
> 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)