KIP-527 — Add VoidSerde to Serdes
Accepted Kafka 2.5 Streams
KIP-527 adds a `Serdes.Void()` serde to the Kafka Streams API that serializes/deserializes `Void` (always null), providing a type-safe representation of topics where keys or values are always null. Using `BytesSerde` or `ByteArraySerde` for null-keyed topics produces a misleading `KStream<Bytes, V>` type that requires defensive null checks throughout the topology.
Details
| Author | Nikolay Izhikov |
| Status | Accepted |
| Kafka Version | 2.5 |
| JIRA | KAFKA-8455 |
| Wiki | View on Apache Wiki |
| Created | 2019-09-19 |
| Last Modified | 2019-10-19 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.