KIP-870 — Retention policy based on record event time
Discussion Broker
Proposes adding retention.max.eventtime.ms, a new retention policy that truncates log segments once the maximum event timestamp in the segment exceeds the configured age, independent of broker wall-clock time. Existing time-based retention compares append time to wall clock, which aggressively deletes data during reprocessing scenarios when Kafka Streams re-ingests old events.
Details
| Author | Nikolay Izhikov |
| Status | Discussion |
| JIRA | KAFKA-13866 |
| Wiki | View on Apache Wiki |
| Created | 2022-09-20 |
| Last Modified | 2022-09-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.