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

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: