Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5527 Idempotent/transactional Producer part 2 (KIP-98)
  3. KAFKA-5286

Producer should await transaction completion in close

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0.0
    • None
    • clients, core, producer
    • None

    Description

      We should wait at least as long as the timeout for a transaction which has begun completion (commit or abort) to be finished. Tricky thing is whether we should abort a transaction which is in progress. It seems reasonable since that's the coordinator will either timeout and abort the transaction or the next producer using the same transactionalId will fence the producer and abort the transaction. In any case, the transaction will be aborted, so perhaps we should do it proactively.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hachikuji Jason Gustafson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: