Manasvi Gupta commented on KAFKA-5706:

I also don't see a toString() function implemented in this class - Errors.java. 

> log the name of the error instead of the error code in response objects
> -----------------------------------------------------------------------
>                 Key: KAFKA-5706
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5706
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients, core
>    Affects Versions:
>            Reporter: Jun Rao
>            Assignee: Manasvi Gupta
>            Priority: Major
>              Labels: newbie
> Currently, when logging the error code in the response objects, we simply log 
> response.toString(), which contains the error code. It will be useful to log 
> the name of the corresponding exception for the error, which is more 
> meaningful than an error code.

This message was sent by Atlassian JIRA

Reply via email to