Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5485

Streams should not suspend tasks twice

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 0.11.0.1, 1.0.0
    • Component/s: streams
    • Labels:
      None

      Description

      Currently, Streams suspends tasks on rebalance and closes suspended tasks if not reassigned. During close, suspend() is called a second time, also calling Processor.close() for all nodes again.

      It would be safer to only call suspend() once in case users have non-idempotent operations in Processor.close() method and might thus fail. (cf. KAFKA-5167)

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mjsax Matthias J. Sax
              Reporter:
              mjsax Matthias J. Sax

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment