Shoothzj opened a new pull request #12200:
URL: https://github.com/apache/pulsar/pull/12200


   ### Motivation
   When the client jvm direct memory is full, we don't want pulsar client to 
use heap memory which may lead to a Heap OutOfMemoryError. In this scene, we 
want the client allocate memory failure until the direct memory is free enough.
   
   ### Modifications
   
   Make the OutOfMemoryPolicy configurely.
   
   ### Documentation
     
   - [ ] no-need-doc 
     
     Currently, this part has no doc, I will start a new PR to add these below 
configs to our document.
   
![image](https://user-images.githubusercontent.com/12933197/134806609-41bea8e6-0897-4107-9f17-2e38f90e813a.png)
   
   
   


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