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/03/11 22:11:42 UTC

[jira] [Closed] (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 closed STORM-693.
------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.4

Confirmed change is within master branch.

> 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
>            Assignee: Parth Brahmbhatt
>             Fix For: 0.9.4
>
>
> 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)