Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-17141

"DescribeTopicPartitions API is not supported" warning message confuses users

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.9.0
    • None

    Description

      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:

      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.

       

      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

       

      Attachments

        Issue Links

          Activity

            People

              yangpoan PoAn Yang
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: