KIP-1034 — Dead letter queue in Kafka Streams
Discussion Kafka 4.2 (source observation; full implementation unconfirmed) Streams
Introduces a dead-letter queue (DLQ) mechanism for Kafka Streams, routing records that trigger processing exceptions to a configurable Kafka topic instead of failing the stream or silently dropping them. The existing exception handlers offer only two choices—fail the application or skip the record—neither of which is suitable for production workloads where faulty records should be isolated for inspection and reprocessing.
Details
| Author | Damien Gasparina |
| Status | Discussion |
| Kafka Version | 4.2 (source observation; full implementation unconfirmed) |
| JIRA | KAFKA-16505 |
| Wiki | View on Apache Wiki |
| Created | 2024-04-04 |
| Last Modified | 2026-02-24 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.