+1, thanks ShunKang. Though its proposed motivation is on consumer fetcher's deserialization, I think adding an overloaded method with ByteBuffer would help with other serde places on the client side as well.
Guozhang On Thu, Sep 22, 2022 at 9:41 AM ShunKang Lin <linshunkang....@gmail.com> wrote: > Hi everyone, > > I'd like to open the vote for KIP-863, which proposes to reduce memory > allocation and memory copying in Fetcher#parseRecord(TopicPartition, > RecordBatch, Record). > > The proposal is here: > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=225152035 > > Thanks to all who reviewed the proposal, and thanks in advance for taking > the time to vote! > > Best, > ShunKang > -- -- Guozhang