conduktor.io ↗

KIP-331 — Add default implementation to close() and configure() for Serializer, Deserializer and Serde

Discussion Kafka 2.3 Client

Adds default (no-op) implementations to `Serializer.close()`, `Serializer.configure()`, `Deserializer.close()`, `Deserializer.configure()`, and their `Serde` equivalents as Java 8 default interface methods. Users implementing custom serdes are forced to write boilerplate no-op methods for lifecycle hooks they do not need.

Details

AuthorChia-Ping Tsai
StatusDiscussion
Kafka Version2.3
JIRAKAFKA-6161
WikiView on Apache Wiki
Created2018-07-01
Last Modified2018-10-23
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.