conduktor.io ↗

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

AuthorPengcheng Zheng
StatusAccepted
Kafka Version3.7
JIRAKAFKA-15527
WikiView on Apache Wiki
Created2023-10-02
Last Modified2023-12-07
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.