KIP-284 — Set default retention ms for Streams repartition topics to Long.MAX_VALUE
Accepted Kafka 2.0 Streams
Changes the default `retention.ms` for Kafka Streams auto-created repartition topics from 7 days to `Long.MAX_VALUE` (effectively infinite). After KIP-220/KIP-204, repartition topics are transient and managed by Streams' own compaction/purge logic; a finite retention can prematurely delete records with old timestamps during reprocessing or bootstrapping scenarios.
Details
| Author | Khaireddine Rezgui |
| Status | Accepted |
| Kafka Version | 2.0 |
| JIRA | KAFKA-6535 |
| Wiki | View on Apache Wiki |
| Created | 2018-04-07 |
| Last Modified | 2018-04-12 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.