You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Yang Ye (JIRA)" <ji...@apache.org> on 2012/11/01 10:43:12 UTC

[jira] [Updated] (KAFKA-491) KafkaRequestHandler needs to handle exceptions

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

Yang Ye updated KAFKA-491:
--------------------------

    Attachment: kafka-491-v2.diff


Fixed comments 1.1, 1.2, 1.4, 2

For 1.3,
It seems not easy to do that, if we have some common variable outside, then the type of this variable has only to be vague, then when we log it, we cannot get the detailed info inside it. 
                
> KafkaRequestHandler needs to handle exceptions
> ----------------------------------------------
>
>                 Key: KAFKA-491
>                 URL: https://issues.apache.org/jira/browse/KAFKA-491
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Jun Rao
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-491-v1.diff, kafka-491-v2.diff
>
>
> Currently, if apis.handle() throws an exception (e.g., if the broker receives an invalid request), KafkaRequestHandler will die. We need to handle exceptions properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira