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


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/InMemoryTimeOrderedKeyValueChangeBuffer.java:
##########
@@ -447,7 +447,7 @@ public Maybe<ValueAndTimestamp<V>> 
priorValueForBuffered(final K key) {
             // it's unfortunately not possible to know this, unless we 
materialize the suppressed result, since our only
             // knowledge of the prior value is what the upstream processor 
sends us as the "old value" when we first
             // buffer something.
-            return Maybe.defined(ValueAndTimestamp.make(deserializedValue, 
RecordQueue.UNKNOWN));
+            return Maybe.defined(ValueTimestampHeaders.make(deserializedValue, 
RecordQueue.UNKNOWN, null));

Review Comment:
   nit: `null` -> `new RecordHeaders()` (doesn't make a read difference; just 
for code consistency.



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