gabriellefu commented on code in PR #23233:
URL: https://github.com/apache/kafka/pull/23233#discussion_r3847973197


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/StoreQueryUtils.java:
##########
@@ -429,7 +429,7 @@ private static <R> QueryResult<R> runMultiVersionedKeyQuery(
     @SuppressWarnings({"unchecked", "rawtypes", "resource"})
     public static <V> Function<byte[], V> deserializeValue(final 
StateSerdes<?, V> serdes, final StateStore wrapped) {
         final Serde<V> valueSerde = serdes.valueSerde();
-        final boolean timestamped = WrappedStateStore.isTimestamped(wrapped) 
|| isAdapter(wrapped);
+        final boolean timestamped = WrappedStateStore.isTimestamped(wrapped);

Review Comment:
   KeyValueToTimestampedKeyValueByteStoreAdapter now implement 
TimestampedBytesStore, so isAdapter(wrapped) is the same as 
isTimestamped(wrapped)



-- 
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]

Reply via email to