KIP-939 — Support Participation in 2PC
Accepted Kafka 4.1 TransactionsBroker
Enables Kafka brokers to act as a participant (not just coordinator) in an external two-phase commit (2PC) protocol by adding a `PrepareTransaction` API phase before the existing `EndTransaction`. Without native 2PC participation support, applications needing atomic cross-system transactions (Kafka + external DB) must implement fragile custom recovery logic outside the broker.
Protocol Impact
Details
| Author | Artem Livshits |
| Status | Accepted |
| Kafka Version | 4.1 |
| JIRA | KAFKA-15370 |
| Wiki | View on Apache Wiki |
| Created | 2023-06-02 |
| Last Modified | 2024-07-23 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.