Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-693

KafkaBolt exception handling improvement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0, 0.9.4
    • storm-kafka
    • None

    Description

      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);

      Attachments

        Activity

          People

            parth.brahmbhatt Parth Brahmbhatt
            rkellogg Richard Kellog Jr.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: