Jess668 commented on code in PR #22666:
URL: https://github.com/apache/kafka/pull/22666#discussion_r3476304870
##########
streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java:
##########
@@ -323,8 +323,11 @@ private <R> QueryResult<R> runKeyQuery(final Query<R>
query,
final QueryConfig config) {
final QueryResult<R> result;
final KeyQuery<K, V> typedKeyQuery = (KeyQuery<K, V>) query;
- final KeyQuery<Bytes, byte[]> rawKeyQuery =
+ KeyQuery<Bytes, byte[]> rawKeyQuery =
KeyQuery.withKey(serializeKey(typedKeyQuery.getKey()));
+ if (typedKeyQuery.isSkipCache()) {
Review Comment:
I will propagate skipCache only in the new
`runTimestampedKeyWithHeadersQuery` handler (a single occurrence), and reverted
the changes to `MeteredKeyValueStore`/`MeteredTimestampedKeyValueStore` (and
dropped it from the header store's existing-query handlers).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]