mjsax commented on code in PR #21684:
URL: https://github.com/apache/kafka/pull/21684#discussion_r2907073932


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredVersionedKeyValueStore.java:
##########
@@ -145,7 +145,7 @@ private class MeteredVersionedKeyValueStoreInternal
         public long put(final K key, final V value, final long timestamp) {
             Objects.requireNonNull(key, "key cannot be null");
             try {
-                final long validTo = maybeMeasureLatency(() -> 
inner.put(keyBytes(key), plainValueSerdes.rawValue(value), timestamp), time, 
putSensor);
+                final long validTo = maybeMeasureLatency(() -> 
inner.put(serializeKey(key), plainValueSerdes.rawValue(value), timestamp), 
time, putSensor);

Review Comment:
   Good catch -- similar to my other comment -- focus of this PR was 
`MeteredKeyValueStore` -- we haven't even implemented "header-versioned-store" 
yet. Will address in follow up PR.



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