conduktor.io ↗

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

AuthorEno Thereska
StatusAccepted
Kafka Version1.0
JIRAKAFKA-5157
WikiView on Apache Wiki
Created2017-05-25
Last Modified2018-06-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.