You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/02/26 22:50:07 UTC

[jira] [Updated] (STORM-693) KafkaBolt exception handling improvement

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

Rick Kellogg updated STORM-693:
-------------------------------
          Component/s: storm-kafka
    Affects Version/s: 0.9.3

> KafkaBolt exception handling improvement
> ----------------------------------------
>
>                 Key: STORM-693
>                 URL: https://issues.apache.org/jira/browse/STORM-693
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-kafka
>    Affects Versions: 0.9.3
>            Reporter: Rick Kellogg
>
> Within the KafkaBolt execute method, an error message is logged if any sort of error occurs communicating with Kafka.  Unfortunately the input is still acknowledged.
> Upon review of the HdfsBolt & HiveBolt, I believe the exception handling block should include the following two lines:
>             this.collector.reportError(ex);
>             this.collector.fail(input);



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