conduktor.io ↗

KIP-20 — Enable log preallocate to improve consume performance under windows and some old Linux file system

Accepted Broker

KIP-20 adds a `log.preallocate` broker config that pre-allocates log segment files at creation time (using the full `log.segment.bytes` size) rather than growing them incrementally via appends. This reduces filesystem fragmentation on Windows and older Linux filesystems (ext2/ext3), improving consume performance for sequential reads.

Details

AuthorHonghai Chen
StatusAccepted
JIRAKAFKA-1646
WikiView on Apache Wiki
Created2015-04-21
Last Modified2015-07-18
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.