divijvaidya commented on PR #12916: URL: https://github.com/apache/kafka/pull/12916#issuecomment-1330516571
I used a different approach to calculate the size in the PR https://github.com/apache/kafka/pull/12917 Instead of using `buffer.remaining()` which provide the un-traversed suffix of the buffer (hence representing the api message body), we need the traversed buffer during the parsing stage. I find that by keeping track of buffer pointers before and after the parse. @showuon @mimaison Please check the corresponding PR for details. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org