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

Streams should not re-throw if suspending/closing tasks fails

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, if Stream suspends a task on rebalance or closes a suspended task that got revoked, it re-throws any exception that might occur and the thread dies. However, this in not really necessary as the task was suspended/closed anyway and we can just clean up the task and carry on with the rebalance.

      (cf comments https://github.com/apache/kafka/pull/3449#discussion_r124437816)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mjsax Matthias J. Sax
                Reporter:
                mjsax Matthias J. Sax
                Reviewer:
                Guozhang Wang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: