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

Improve Response Errors Logging

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0.1
    • 3.9.0
    • clients
    • None

    Description

      When NetworkClient.java gets a response error, it runs:

                  if (response.errors().size() > 0) {
                      log.warn("Error while fetching metadata with correlation id {} : {}", header.correlationId(), response.errors());
                  }
      

      Logging that at warn level and saying there is an error, is confusing to new people. They don't see it was a warn and not error level. They just see that it says "Error while...".

      Maybe it should be something like "The metadata response from the cluster reported a recoverable issue..."

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ksolves.kafka Ksolves India Limited
            eljefe6aa Jesse Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment