conduktor.io ↗

KIP-58 — Make Log Compaction Point Configurable

Accepted Broker

Adds a min.compaction.lag.ms configuration that guarantees a minimum time window during which messages in a compacted topic's log head are retained uncompacted. Without a lower bound on the uncompacted head, the compactor could compact a topic down to the last message written, causing consumers that fell even slightly behind to read only the final compacted value instead of intermediate updates.

Details

AuthorEric Wasserman
StatusAccepted
JIRAKAFKA-1981
WikiView on Apache Wiki
Created2016-05-09
Last Modified2016-11-07
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.