[ 
https://issues.apache.org/jira/browse/KAFKA-18579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kaushik Raina resolved KAFKA-18579.
-----------------------------------
    Resolution: Fixed

> 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.1.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)

Reply via email to