KIP-399 — Extend ProductionExceptionHandler to cover serialization exceptions
Accepted Kafka 3.5 Streams
Extends the Kafka Streams `ProductionExceptionHandler` to also cover serialization exceptions that occur before records are handed to the producer, allowing custom logic to skip, reroute, or fail on serialization errors. The original `ProductionExceptionHandler` only intercepted exceptions from the producer callback, leaving pre-send serialization failures unhandled.
Details
| Author | Kamal Chandraprakash |
| Status | Accepted |
| Kafka Version | 3.5 |
| JIRA | KAFKA-7499 |
| Wiki | View on Apache Wiki |
| Created | 2018-12-03 |
| Last Modified | 2023-03-29 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.