mjsax commented on code in PR #21408:
URL: https://github.com/apache/kafka/pull/21408#discussion_r2785076023
##########
streams/src/main/java/org/apache/kafka/streams/state/internals/HeadersDeserializer.java:
##########
@@ -86,4 +86,10 @@ public Headers deserialize(final String topic, final byte[]
data) {
return headers;
}
+
+ public static Headers deserialize(final byte[] data) {
Review Comment:
Wondering why we would need it -- can't the caller code not just create an
instance of `HeaderDeserializer`? Seems to be a little bit odd, to have
`static` method would would create in instance of "itself" which is short lived.
--
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]