Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5156 Options for handling exceptions in streams
  3. KAFKA-5937

Improve ProcessorStateManager exception handling

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11.0.0, 0.11.0.1
    • 1.0.0
    • streams
    • None

    Description

      We identified the follow issues:

      • constructor calls StateDirectory#directoryForTask() and wraps throw ProcessorStateException with LockException and rethrows -> we should not change the exception type here
      • ProcessorStateManager#flush() loops through all stores and calls StateStore#flush(); it stops on first Exception -> we should keep looping and flush all remaining stores before rethrowing at the end

      Attachments

        Issue Links

          Activity

            People

              mjsax Matthias J. Sax
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: