conduktor.io ↗

KIP-890 — Transactions Server-Side Defense

Accepted Kafka 3.8 TransactionsBroker

Adds server-side transaction defense in the broker to reject out-of-order or delayed transactional writes that could cause hanging transactions (stalled LSO), incorrect transaction completion, or EOS violations. Network partitions and client bugs can deliver delayed `AddPartitionsToTxn` or `EndTxn` requests after epoch boundaries, leading to partially-committed state that blocks read-committed consumers and prevents log compaction.

Protocol Impact

Produce v11/v12 · FindCoordinator v5 · InitProducerId v5 · AddPartitionsToTxn v5 · AddOffsetsToTxn v4 · EndTxn v4/v5 · TxnOffsetCommit v4/v5 · OffsetCommit

Details

AuthorJustine Olshan
StatusAccepted
Kafka Version3.8
JIRAKAFKA-14402
WikiView on Apache Wiki
Created2022-11-18
Last Modified2025-02-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.