KIP-691 — Enhance Transactional Producer Exception Handling
Accepted TransactionsProducer
Adds a `fencedOnCommit` classification to transactional producer exceptions to distinguish fatal epoch-fenced errors (where the producer must abort and re-initialize) from transient errors (where only an `abortTransaction()` is needed). Previously, all `ProducerFencedException` and `OutOfOrderSequenceException` types required full `initTransactions()` restarts, causing unnecessary downtime for recoverable faults.
Details
| Author | Boyang Chen |
| Status | Accepted |
| JIRA | KAFKA-10733 |
| Wiki | View on Apache Wiki |
| Created | 2020-11-24 |
| Last Modified | 2023-01-20 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.