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
| Author | Viktor Somogyi |
| Status | Accepted |
| Kafka Version | 2.1 |
| JIRA | KAFKA-6923 |
| Wiki | View on Apache Wiki |
| Created | 2018-07-09 |
| Last Modified | 2018-09-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.