soondenana commented on code in PR #19353:
URL: https://github.com/apache/kafka/pull/19353#discussion_r2029166476
##########
clients/src/main/java/org/apache/kafka/common/requests/AbstractResponse.java:
##########
@@ -51,8 +53,8 @@ final ByteBuffer serializeWithHeader(ResponseHeader header,
short version) {
}
// Visible for testing
- final ByteBuffer serialize(short version) {
- return MessageUtil.toByteBufferAccessor(data(), version).buffer();
+ final ByteBufferAccessor serialize(short version) {
Review Comment:
It was like that in the Request PR, but as feedback I was asked to change
that, so kept it same in this PR.
--
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]