Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-571

Add task interface suppress uncaught exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.9.0
    • 0.10.0
    • container
    • None

    Description

      When SystemProducer got a MessageSizeTooLargeException from Kafka broker, the container keeps trying and the job stucks at send call. The behavior in 0.9.0 will be different (i.e. the container will shutdown on exception). The SystemConsumer deserialization exception exhibit a similar behavior.

      It would be nice to add a ListenableTask interface w/ an onException() handler that allows the user to catch these exceptions and allow application logic on the exceptions.

      Attachments

        Activity

          People

            nickpan47 Yi Pan
            nickpan47 Yi Pan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: