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

Streams should not abort transaction when closing zombie task

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.11.0.0
    • 0.11.0.1, 1.0.0
    • streams
    • 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

              mjsax Matthias J. Sax
              mjsax Matthias J. Sax
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: