You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kaushik Raina (Jira)" <ji...@apache.org> on 2025/02/19 18:55:00 UTC
[jira] [Updated] (KAFKA-18579) Add TransactionAbortableException instruction in docs
[ https://issues.apache.org/jira/browse/KAFKA-18579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kaushik Raina updated KAFKA-18579:
----------------------------------
Fix Version/s: 4.0.0
(was: 4.1.0)
> Add TransactionAbortableException instruction in docs
> -----------------------------------------------------
>
> Key: KAFKA-18579
> URL: https://issues.apache.org/jira/browse/KAFKA-18579
> Project: Kafka
> Issue Type: Improvement
> Components: documentation, website
> Reporter: Kaushik Raina
> Assignee: Kaushik Raina
> Priority: Minor
> Labels: newbie
> Fix For: 4.0.0
>
>
> * In [KIP-890|https://cwiki.apache.org/confluence/display/KAFKA/KIP-890%3A+Transactions+Server-Side+Defense] 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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)