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
| Author | Justine Olshan |
| Status | Accepted |
| Kafka Version | 3.8 |
| JIRA | KAFKA-14402 |
| Wiki | View on Apache Wiki |
| Created | 2022-11-18 |
| Last Modified | 2025-02-13 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.