I've updated the branch with a mean that replaces the buffer in case we need to allocate a bigger one. This was also suggested by @dhruvilshah3 it may be a better idea anyway. The code does not look as idiomatic as it used to, but at least it "does the job" 🙂I am definitely open to make changes if either of you has a better suggestion!
[ Full content available at: https://github.com/apache/kafka/pull/5500 ] This message was relayed via gitbox.apache.org for [email protected]
