conduktor.io ↗

KIP-893 — The Kafka protocol should support nullable structs

Accepted Kafka 3.5 (target; release unconfirmed) Protocol

Adds nullable struct support to the Kafka RPC protocol schema, enabling struct fields to be null on the wire (serialized as INT8 -1/VARINT 0 presence byte before the struct bytes). This is needed for KIP-848's ConsumerGroupHeartbeat response, which must be able to return null assignment to indicate no change, rather than re-sending the full assignment every heartbeat.

Details

AuthorDavid Jacot
StatusAccepted
Kafka Version3.5 (target; release unconfirmed)
JIRAKAFKA-14425
WikiView on Apache Wiki
Created2022-12-01
Last Modified2022-12-08
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.