KIP-1038 — Add Custom Error Handler to Producer
Discussion Producer
Adds a pluggable `ProducerErrorHandler` interface that users can configure on `KafkaProducer` to intercept and handle producer-level errors (serialization, send failures) with custom logic. Currently producers only support fixed retry/fail semantics with no user hook for custom error routing or dead-letter handling.
Details
| Author | Alieh Saeedi |
| Status | Discussion |
| JIRA | KAFKA-15309 |
| Wiki | View on Apache Wiki |
| Created | 2024-04-17 |
| Last Modified | 2024-05-15 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.