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

Producer NETWORK_EXCEPTION response should log more information

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: