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

Streams should not abort transaction when closing zombie task

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      Description

      The contract of the transactional producer API is to not call any transactional method after a ProducerFenced exception was thrown.

      Streams however, does an unconditional call within StreamTask#close() to abortTransaction() in case of unclean shutdown. We need to distinguish between a ProducerFenced and other unclean shutdown cases.

        Attachments

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment