KIP-161 — streams deserialization exception handlers
Accepted Kafka 1.0 Streams
Introduces a DeserializationExceptionHandler SPI for Kafka Streams that lets users define custom behavior (log-and-continue or fail) when a record fails to deserialize. Without this, a single malformed record (poison pill) in a Streams input topic terminates the entire stream task, requiring manual offset manipulation or application code changes to skip bad records.
Details
| Author | Eno Thereska |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-5157 |
| Wiki | View on Apache Wiki |
| Created | 2017-05-25 |
| Last Modified | 2018-06-13 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.