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
| Author | David Jacot |
| Status | Accepted |
| Kafka Version | 3.5 (target; release unconfirmed) |
| JIRA | KAFKA-14425 |
| Wiki | View on Apache Wiki |
| Created | 2022-12-01 |
| Last Modified | 2022-12-08 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.