Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-1798

Exception thrown by listener should be handled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.1
    • Component/s: None
    • Labels:

      Description

      When event listeners are invoked, an exception thrown by any of them should not cause processing to cease. Instead, the exception should be logged, and processing should continue.

      Spark is very extensible in nature. All kinds of plugins can add functionality. I've found that Spark would stop processing messages completely, if one of the 'add-ons' would throw an unexpected problem. With the fix for this issue, the root cause of the problem won't be fixed (I don't know what it is), but the effect would now be isolated to that 'add-on'. It would no longer prevent further processing of the message. As a side-effect, the root cause should now be logged in the error logs of Spark. That will allow us to address that too.

        Attachments

          Activity

            People

            Assignee:
            guus Guus der Kinderen
            Reporter:
            guus Guus der Kinderen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: