conduktor.io ↗

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

AuthorBoyang Chen
StatusAccepted
JIRAKAFKA-10733
WikiView on Apache Wiki
Created2020-11-24
Last Modified2023-01-20
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.