KIP-985 — Add reverseRange and reverseAll query over kv-store in IQv2
Accepted Kafka 3.7 Streams
Adds withDescendingKeys() and withAscendingKeys() methods to RangeQuery and introduces the ResultOrder enum, enabling reverse-ordered range and all-keys queries against RocksDB and InMemoryKeyValueStore (both of which maintain sorted key order). IQv2 previously had no mechanism to retrieve results in descending key order.
Details
| Author | Pengcheng Zheng |
| Status | Accepted |
| Kafka Version | 3.7 |
| JIRA | KAFKA-15527 |
| Wiki | View on Apache Wiki |
| Created | 2023-10-02 |
| Last Modified | 2023-12-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.