UladzislauBlok commented on code in PR #21971:
URL: https://github.com/apache/kafka/pull/21971#discussion_r3582073236


##########
streams/src/test/java/org/apache/kafka/streams/state/internals/MeteredTimestampedKeyValueStoreWithHeadersTest.java:
##########
@@ -697,4 +699,21 @@ public void 
shouldUseHeadersFromValueToDeserializeKeyInPrefixScan() {
         // The critical verification: key deserializer must have been called 
with HEADERS (not empty headers)
         verify(keyDeserializer).deserialize(any(), eq(HEADERS), 
eq(KEY.getBytes()));
     }
+
+    @Test
+    public void shouldUseHeadersFromContextForPrefixSerialization() {

Review Comment:
   I see. I agree now, it makes sense to add this kind of test. Do we have any 
similar now? (asking because I assume this will require some setup of state 
store or topology and I'd like to re-use existing infra)



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