wolfstudy commented on pull request #9513: URL: https://github.com/apache/pulsar/pull/9513#issuecomment-775787911
But here, a more difficult problem is that you don't know when the producer will be closed. This is determined by the user. The idea of cache producer is OK, but we need to figure out how to deal with these created producers at the same time. If they are not used for a long time, what should we do at this time? A relatively simple but not very mature idea is: we have a timing task in the background to process these resources regularly, for example: 30 minutes, if the user does not use them, we will turn off these resources ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
