conduktor.io ↗

KIP-1366 — Configurable Segment Interval for Window and Session Stores

Discussion Streams

Exposes `segmentInterval` as an optional parameter on the `Stores` factory methods for window and session stores, following the pattern KIP-889 established for versioned key-value stores. The interval is currently derived as `max(retentionPeriod / 2, 60_000ms)`, so any retention change shifts segment boundaries and forces a full changelog restore, and long retentions produce oversized active segments that hurt RocksDB compaction and cache-hit ratios.

Details

AuthorHannes Buseyne
StatusDiscussion
JIRAKAFKA-20801
WikiView on Apache Wiki
Created2026-07-13
Last Modified2026-07-13
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.