conduktor.io ↗

KIP-420 — Add Single Value Fetch in Session Stores

Accepted Kafka 2.3 Streams

Adds a `fetch(Bytes key, long startTime, long endTime)` single-point lookup method to the `SessionStore` interface, enabling efficient O(log N) retrieval of a specific session window by key and exact time bounds. Without single-value fetch, retrieving a specific session required a range scan over all sessions for a key, even when the exact start and end time of the target session are known.

Details

AuthorGuozhang Wang
StatusAccepted
Kafka Version2.3
JIRAKAFKA-7652
WikiView on Apache Wiki
Created2019-01-19
Last Modified2019-01-31
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.