conduktor.io ↗

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

InitProducerId v6

Details

AuthorArtem Livshits
StatusAccepted
Kafka Version4.1
JIRAKAFKA-15370
WikiView on Apache Wiki
Created2023-06-02
Last Modified2024-07-23
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.