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 2021/06/22 11:35:59 UTC

[GitHub] [pulsar] Shoothzj commented on issue #10996: MutliConsumer not released after calling method unsubscribe

Shoothzj commented on issue #10996:
URL: https://github.com/apache/pulsar/issues/10996#issuecomment-865907443


   > Does `consumer.close()` work? `unsubscribe()` is just to send an UNSUBSCRIBE command to broker. For `MultiTopicsConsumer`, it calls `unsubscribe()` method for each single topic.
   
   `Consumer.close()` work, but when you call `unsubscribe()`, it changes the state to `Closing`, and then U can't call `close` any more. And the `ConsumerImpl` close the consumer, while `MultiConsumerImpl` doesn't.


-- 
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:
users@infra.apache.org