When querying a global state store through the `store/key-value/{storeName}` endpoint, the result is always empty. The `KafkaStreams#query` call (from https://github.com/michelin/kstreamplify/blob/main/kstreamplify-core/src/main/java/com/michelin/kstreamplify/service/interactivequeries/keyvalue/KeyValueStoreService.java#L86) returns the following error: ``` Global stores do not yet support the KafkaStreams#query API. Use KafkaStreams#store instead. ``` Multiple solutions: - Do not support querying a global state store in Kstreamplify and at least throw an error to inform the user. - Fall back to `KafkaStreams#store`, as suggested. Related ASF issue: https://issues.apache.org/jira/browse/KAFKA-13523
When querying a global state store through the
store/key-value/{storeName}endpoint, the result is always empty.The
KafkaStreams#querycall (from https://github.com/michelin/kstreamplify/blob/main/kstreamplify-core/src/main/java/com/michelin/kstreamplify/service/interactivequeries/keyvalue/KeyValueStoreService.java#L86) returns the following error:Multiple solutions:
KafkaStreams#store, as suggested.Related ASF issue: https://issues.apache.org/jira/browse/KAFKA-13523