You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Michael Viamari (Jira)" <ji...@apache.org> on 2021/06/09 23:28:00 UTC

[jira] [Created] (KAFKA-12925) StateStore::prefixScan missing from intermediate interfaces

Michael Viamari created KAFKA-12925:
---------------------------------------

             Summary: StateStore::prefixScan missing from intermediate interfaces
                 Key: KAFKA-12925
                 URL: https://issues.apache.org/jira/browse/KAFKA-12925
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 2.8.0
            Reporter: Michael Viamari


[KIP-614|https://cwiki.apache.org/confluence/display/KAFKA/KIP-614%3A+Add+Prefix+Scan+support+for+State+Stores] and [KAFKA-10648|https://issues.apache.org/jira/browse/KAFKA-10648] introduced support for {{prefixScan}} to StateStores.

It seems that many of the intermediate {{StateStore}} interfaces are missing a definition for {{prefixScan}}, and as such is not accessible in all cases.

For example, when accessing the state stores through a the processor context, the {{KeyValueStoreReadWriteDecorator}} and associated interfaces do not define {{prefixScan}} and it falls back to the default implementation in {{KeyValueStore}}, which throws {{UnsupportedOperationException}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)