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
| Author | Eric Wasserman |
| Status | Accepted |
| JIRA | KAFKA-1981 |
| Wiki | View on Apache Wiki |
| Created | 2016-05-09 |
| Last Modified | 2016-11-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.