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

Producer NETWORK_EXCEPTION response should log more information

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

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None

    Description

      When diagnosing network issues, it is useful to have a clear picture of which client disconnected from which broker at what time.
      Currently, when the producer receives a NETWORK_EXCEPTION in its responses, it logs the following:

      [Producer clientId=<CLIENT>] Received invalid metadata error in produce request on partition <partition> due to org.apache.kafka.common.errors.NetworkException: The server disconnected before a response was received.. Going to request metadata update now 

      It would be good if we logged additional information regarding the broker/host whose connection was disconnected

      Attachments

        Activity

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

          People

            enether Stanislav Kozlovski
            enether Stanislav Kozlovski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment