Stanislav Kozlovski created KAFKA-9023:

             Summary: Producer NETWORK_EXCEPTION response should log more 
                 Key: KAFKA-9023
             Project: Kafka
          Issue Type: Improvement
            Reporter: Stanislav Kozlovski
            Assignee: Stanislav Kozlovski

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 {code}
It would be good if we logged additional information regarding the broker/host 
whose connection was disconnected

This message was sent by Atlassian Jira

Reply via email to