KIP-968 — Support single-key_multi-timestamp Interactive Queries (IQv2) for Versioned State Stores
Accepted Kafka 3.7 Streams
KIP-968 adds a `MultiVersionedKeyQuery<K, V>` class and `VersionedRecordIterator<V>` interface to Kafka Streams IQv2, enabling single-key queries against versioned state stores that return all versions within a time range (with optional upper/lower bounds and result ordering). KIP-960 added single-timestamp point lookups; this KIP extends IQv2 to support range-over-time queries including tombstone representation via a `validTo` field on `VersionedRecord`.
Details
| Author | Alieh Saeedi |
| Status | Accepted |
| Kafka Version | 3.7 |
| JIRA | KAFKA-15347 |
| Wiki | View on Apache Wiki |
| Created | 2023-08-15 |
| Last Modified | 2023-11-21 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.