wangjialing218 opened a new pull request #13254:
URL: https://github.com/apache/pulsar/pull/13254


   ### Motivation
   
   We have introduced poolMessages for consumer by PIP-83, and add 
configuration for functions by #11618
   The default value of poolMessage is false if user did not config it in 
`FunctionConfig`.
   
   It's better to enable poolMessage for function instance to avoid high work 
load of JVM GC. And user do not need to call release API for each messages, we 
have already did that in function instance side.
   For those user developing functions, they do not need to known the detail of 
memory usage with poolMessage and whether they need to enable poolMessage when 
create functions. 
   
   ### Modifications
   Enable poolMessages of functions by default
   
   ### Verifying this change
   
   This change is already covered by existing tests, such as testPoolMessages()
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [x] `no-need-doc` 
     
     Only change default value
   
   


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