conduktor.io ↗

KIP-336 — Consolidate ExtendedSerializer/Serializer and ExtendedDeserializer/Deserializer

Accepted Kafka 2.1 Client

Merges ExtendedSerializer into Serializer and ExtendedDeserializer into Deserializer, adding the header-aware serialize/deserialize methods directly to the base interfaces. KIP-82 introduced ExtendedSerializer/Deserializer as separate interfaces to avoid breaking compatibility, but the split created confusion and required instanceof checks throughout the codebase; with Java 8 minimum, default methods allow a clean merge.

Details

AuthorViktor Somogyi
StatusAccepted
Kafka Version2.1
JIRAKAFKA-6923
WikiView on Apache Wiki
Created2018-07-09
Last Modified2018-09-07
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.