mjsax commented on code in PR #21580:
URL: https://github.com/apache/kafka/pull/21580#discussion_r2887447794
##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/KTableSource.java:
##########
@@ -166,7 +166,8 @@ public void process(final Record<KIn, VIn> record) {
} else {
oldValue = null;
}
- final long putReturnCode = store.put(record.key(),
record.value(), record.timestamp());
+ final long putReturnCode;
+ putReturnCode = store.put(record.key(), record.value(),
record.timestamp(), record.headers());
Review Comment:
`new RecordHeaders()` ?
##########
streams/src/main/java/org/apache/kafka/streams/kstream/internals/KTableTransformValues.java:
##########
@@ -120,7 +120,7 @@ public void process(final Record<K, Change<V>> record) {
if (queryableName != null) {
final VOut oldValue = sendOldValues ?
getValueOrNull(store.get(record.key())) : null;
- final long putReturnCode = store.put(record.key(), newValue,
record.timestamp());
+ final long putReturnCode = store.put(record.key(), newValue,
record.timestamp(), record.headers());
Review Comment:
`new RecordHeaders()` ?
--
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]