Dmitry Minkovsky commented on KAFKA-5105:

Specifically, from the mailing list archive, Damien writes:
{quote}I think what you are seeing is that the order is not guaranteed across
 partitions. When you use Queryable State you are actually querying multiple
 underlying stores, i.e., one per partition. The implementation iterates
 over one store/partition at a time, so the ordering will appear random.
 This could be improved
So this is only true when you're using Interactive Queries? Certainly this 
cannot be true when you've obtained a state storeĀ using 

> ReadOnlyKeyValueStore range scans are not ordered
> -------------------------------------------------
>                 Key: KAFKA-5105
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5105
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>    Affects Versions:
>            Reporter: Dmitry Minkovsky
>            Priority: Major
> Following up with this thread 
> https://www.mail-archive.com/users@kafka.apache.org/msg25373.html
> Although ReadOnlyKeyValueStore's #range() is documented not to returns values 
> in order, it would be great if it would for keys within a single partition. 
> This would facilitate using interactive queries and local state as one would 
> use HBase to index data by prefixed keys. If range returned keys in 
> lexicographical order, I could use interactive queries for all my data needs 
> except search.

This message was sent by Atlassian JIRA

Reply via email to