KIP-1050 — Consistent error handling for Transactions
Accepted Kafka 4.1 TransactionsClient
Defines a comprehensive error taxonomy for Kafka transactional and idempotent producer APIs — classifying each error as retriable, abortable, or fatal — and aligns error handling behavior across all client SDK implementations (Java, librdkafka, Go, .NET, Python). Inconsistent error handling across SDKs and incomplete error specifications in KAFKA-7787/KAFKA-14439 made it difficult for non-Java clients to implement correct transactional semantics.
Details
| Author | Kaushik Raina |
| Status | Accepted |
| Kafka Version | 4.1 |
| JIRA | KAFKA-16906 |
| Wiki | View on Apache Wiki |
| Created | 2024-06-06 |
| Last Modified | 2025-07-15 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.