KIP-47 — Add timestamp-based log deletion policy
Discussion Broker
KIP-47 adds a `log.retention.min.timestamp` topic-level config that causes the log deletion policy to discard all segments whose last message timestamp is before the configured Unix timestamp. This supports commit-log use cases where clients need to delete an arbitrary range of old messages without relying solely on time- or size-based retention policies.
Details
| Author | Bill Warshaw |
| Status | Discussion |
| JIRA | KAFKA-3224 |
| Wiki | View on Apache Wiki |
| Created | 2016-02-09 |
| Last Modified | 2016-03-10 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.