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
| Author | Chia-Ping Tsai |
| Status | Discussion |
| Kafka Version | 2.3 |
| JIRA | KAFKA-6161 |
| Wiki | View on Apache Wiki |
| Created | 2018-07-01 |
| Last Modified | 2018-10-23 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.