You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/14 07:47:32 UTC

[GitHub] [pulsar] leizhiyuan opened a new issue, #16050: when ServerCnx has no consumers and producers, recycle the connection

leizhiyuan opened a new issue, #16050:
URL: https://github.com/apache/pulsar/issues/16050

   **Is your feature request related to a problem? Please describe.**
   
   now, we sometimes meet this issue
   
   our users use an old version of the client,  for example, backlog exceeded.
   
   the client will close the producer, but they won't close the connection, then the TCP connection will increase very quickly.
   
   we can think of another scene: if the user creates a pulsar client, then create a producer,then close producer, then create a pulsar client. 
   
   
   
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   
   we want to use a brokerDeleteInactiveConnectionEnabled config, when we close producer and close consumer when will judge 
   
   if the current Servercnx has no consumer and producer, we will register a timer (such as 60s), if there is no consumer and producer after 60s,we will close cnx.
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #16050: when ServerCnx has no consumers and producers, recycle the connection

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16050:
URL: https://github.com/apache/pulsar/issues/16050#issuecomment-1185103583

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org