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
| Author | Guozhang Wang |
| Status | Accepted |
| Kafka Version | 2.3 |
| JIRA | KAFKA-7652 |
| Wiki | View on Apache Wiki |
| Created | 2019-01-19 |
| Last Modified | 2019-01-31 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.