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

Chia-Ping Tsai resolved KAFKA-4374.
-----------------------------------
    Fix Version/s: 3.9.0
       Resolution: Fixed

> Improve Response Errors Logging
> -------------------------------
>
>                 Key: KAFKA-4374
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4374
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.10.0.1
>            Reporter: Jesse Anderson
>            Assignee: Ksolves
>            Priority: Minor
>             Fix For: 3.9.0
>
>
> When NetworkClient.java gets a response error, it runs:
> {code}
>             if (response.errors().size() > 0) {
>                 log.warn("Error while fetching metadata with correlation id 
> {} : {}", header.correlationId(), response.errors());
>             }
> {code}
> Logging that at warn level and saying there is an error, is confusing to new 
> people. They don't see it was a warn and not error level. They just see that 
> it says "Error while...".
> Maybe it should be something like "The metadata response from the cluster 
> reported a recoverable issue..."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to