k2la opened a new issue #4098: Closed consumers remain in websocket proxy
URL: https://github.com/apache/pulsar/issues/4098
 
 
   #### Expected behavior
    
   After websocket clients are closed, consumers connected with them in 
websocket proxy should be closed and removed.
    
   #### Actual behavior
    
   After the clients are closed, some consumers remain in websocket proxy.
   The consumers remain until websocket proxies restart.
    
   #### Findings of research
   - According to heap dump, their reference from `ConsumerHandler` is removed 
but they exist in `consumers (properties of ClientCnx`).
   - `closeAsync()` of the consumers seems to finish properly since error 
messages like `Failed to close consumer` are not in logs. 
    
   #### Steps to reproduce
    
   We tried but haven't reproduced yet.
   That occurred with two topics.
    
   - Situation
     - Clients connect with websocket proxies again every time recieve messages.
     - SubscriptionType: `Shared`.
    
   #### System configuration
    
   **Pulsar version**: 2.2.1
   **Java version:** 1.8
   **OS:** Linux

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


With regards,
Apache Git Services

Reply via email to