You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Jacot (Jira)" <ji...@apache.org> on 2020/11/19 15:44:00 UTC

[jira] [Resolved] (KAFKA-9023) Producer NETWORK_EXCEPTION response should log more information

     [ https://issues.apache.org/jira/browse/KAFKA-9023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jacot resolved KAFKA-9023.
--------------------------------
    Fix Version/s: 2.8.0
       Resolution: Fixed

> 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
>             Fix For: 2.8.0
>
>
> 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)