Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12738 Improved error handling for better at-least-once semantics and faster EOS
  3. KAFKA-12746

Allow StreamThreads to recover from some exceptions without killing/replacing the thread

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams
    • None

    Description

      As the title says, in some cases it should be possible to recover the StreamThread without killing and restarting it (it may in fact be possible for all exception types, though in some cases it may be preferable to just let the thread die and start up with a fresh thread).

      This would obviously allow for greatly mitigating the impact of errors in the subtopology, and allow us to retry with little overhead. It may also make it easier to improve the processing semantics in the face of exceptions.

      This will also be useful if/when we implement a more sophisticated task scheduling which can, for example, work to deprioritize tasks that are frequently experiencing errors without crashing the whole thread or dropping the task entirely

      Attachments

        Activity

          People

            Unassigned Unassigned
            ableegoldman A. Sophie Blee-Goldman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: