[ 
https://issues.apache.org/jira/browse/KAFKA-9023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16949299#comment-16949299
 ] 

ASF GitHub Bot commented on KAFKA-9023:
---------------------------------------

stanislavkozlovski commented on pull request #7498: KAFKA-9023: Log request 
destination when the Producer gets disconnected
URL: https://github.com/apache/kafka/pull/7498
 
 
   When diagnosing network issues, it is useful to have a clear picture of 
which client disconnected from which broker at what time.
   Previously, when the producer received a NETWORK_EXCEPTION in its responses, 
it would not log the node which disconnected.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Producer NETWORK_EXCEPTION response should log more information
> ---------------------------------------------------------------
>
>                 Key: KAFKA-9023
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9023
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Stanislav Kozlovski
>            Assignee: Stanislav Kozlovski
>            Priority: Minor
>
> 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:
> {code:java}
> [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
(v8.3.4#803005)

Reply via email to