AnonHxy commented on PR #15033:
URL: https://github.com/apache/pulsar/pull/15033#issuecomment-1251762196

   Hi @merlimat , `compositeBuffer` will not lead to memory copies until the 
`componentCount`  reached the `maxNumComponents`, which default value is 16. 
   
    If we want to avoid any memory, I think we could set the valule of 
`maxNumComponents`  equals to `batchingMaxMessages`,  which defalut is 1000. 
WDYT


-- 
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]

Reply via email to