conduktor.io ↗

KIP-283 — Efficient Memory Usage for Down-Conversion

Accepted Kafka 2.0 BrokerProtocol

Implements lazy, chunked down-conversion for older fetch protocol clients, converting only the requested bytes at a time rather than materializing the entire partition's unconverted data in heap memory. When brokers must down-convert messages to an older format for legacy consumers, they previously loaded entire log segments into JVM heap, causing OutOfMemoryErrors under concurrent down-conversion load.

Protocol Impact

Fetch

Details

AuthorDhruvil Shah
StatusAccepted
Kafka Version2.0
JIRAKAFKA-6927
WikiView on Apache Wiki
Created2018-04-06
Last Modified2018-06-12
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.