conduktor.io ↗

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

AuthorKhaireddine Rezgui
StatusAccepted
Kafka Version2.0
JIRAKAFKA-6535
WikiView on Apache Wiki
Created2018-04-07
Last Modified2018-04-12
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.