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 2015/07/20 07:18:04 UTC

[jira] [Commented] (KAFKA-2100) Client Error doesn't preserve or display original server error code when it is an unknown code

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

David Jacot commented on KAFKA-2100:
------------------------------------

[~gwenshap] Are you working on this one? I'd like to take it to familiarize myself with the contributing process.

> Client Error doesn't preserve or display original server error code when it is an unknown code
> ----------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-2100
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2100
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>            Reporter: Gwen Shapira
>            Assignee: Gwen Shapira
>              Labels: newbie
>
> When the java client receives an unfamiliar error code, it translates it into 
> UNKNOWN(-1, new UnknownServerException("The server experienced an unexpected error when processing the request"))
> This completely loses the original code, which makes troubleshooting from the client impossible. 
> Will be better to preserve the original code and write it to the log when logging the error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)