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

Add TransactionAbortableException instruction in docs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • documentation, website

    Description

      • In KIP-890 we introduced `TransactionAbortableException`. Transaction producer can throw both `TimeoutException` or `TransactionAbortableException`.
      • Applications using should handle TimeoutException from transaction producer as abortable because it’s not safe to retry the produce. Retrying would assign new sequence numbers to the messages, and if the original message had actually succeeded, the new messages would become duplicates, breaking exactly-once semantics. Details: https://lists.apache.org/thread/ox2dm8n9hpzwj0qo53ssm3ncl8f7cjso 

      Attachments

        Activity

          People

            k-raina Kaushik Raina
            k-raina Kaushik Raina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: