KIP-71 — Enable log compaction and deletion to co-exist
Accepted Broker
KIP-71 extends the `cleanup.policy` topic config to accept a comma-separated list of policies (`compact,delete`), allowing both log compaction and time/size-based segment deletion to run concurrently on the same topic. Previously the policies were mutually exclusive, making it impossible to retain only the latest value per key while still expiring segments older than a configurable window (a key requirement for Kafka Streams join windows).
Details
| Author | Damian Guy |
| Status | Accepted |
| JIRA | KAFKA-4015 |
| Wiki | View on Apache Wiki |
| Created | 2016-08-03 |
| Last Modified | 2016-11-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.