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

Producer NETWORK_EXCEPTION response should log more information

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: