KIP-625 — Richer encodings for integral-typed protocol fields
Discussion Protocol
Extends the Kafka binary protocol to allow variable-length integer encodings (`varint`/`varlong`) for regular (non-length, non-tagged) integer fields in message schemas, complementing the unsigned varint encoding already used for array lengths in flexible versions (KIP-482). Fixed-width 4-byte or 8-byte integers in protocol fields waste bytes for small values; variable-length encoding can reduce wire size significantly for fields that predominantly carry small values.
Protocol Impact
Details
| Author | Tom Bentley |
| Status | Discussion |
| JIRA | KAFKA-9927 |
| Wiki | View on Apache Wiki |
| Created | 2020-06-15 |
| Last Modified | 2020-06-16 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.