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
Details
| Author | Dhruvil Shah |
| Status | Accepted |
| Kafka Version | 2.0 |
| JIRA | KAFKA-6927 |
| Wiki | View on Apache Wiki |
| Created | 2018-04-06 |
| Last Modified | 2018-06-12 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.