mjsax commented on code in PR #21762:
URL: https://github.com/apache/kafka/pull/21762#discussion_r2936405962
##########
streams/src/main/java/org/apache/kafka/streams/state/internals/RecordConverters.java:
##########
@@ -45,9 +39,9 @@ public final class RecordConverters {
timestamp,
record.timestampType(),
record.serializedKeySize(),
- record.serializedValueSize(),
+ recordValueWithTimestamp != null ? recordValueWithTimestamp.length
: 0,
Review Comment:
Stumbled over this by chance -- it's a long standing minor bug... Fixing on
the side.
##########
streams/src/main/java/org/apache/kafka/streams/state/internals/RecordConverters.java:
##########
@@ -70,9 +64,9 @@ public final class RecordConverters {
record.timestamp(),
record.timestampType(),
record.serializedKeySize(),
- record.serializedValueSize(),
+ recordValueWithTimestampAndHeaders != null ?
recordValueWithTimestampAndHeaders.length : 0,
Review Comment:
Same...
--
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]