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 2018/05/23 18:24:41 UTC
[GitHub] merlimat opened a new pull request #1836: Remove reference to
consumers in client map when unsubscribing
merlimat opened a new pull request #1836: Remove reference to consumers in client map when unsubscribing
URL: https://github.com/apache/incubator-pulsar/pull/1836
### Motivation
Unlike in the case of `Consumer.close()`, when calling `Consumer.unsubscribe()` the consumer reference is not removed from the client map.
Additionally, since the state of the consumer is already flipped to `Closing`, calling `Consumer.close()` will be a no-op and it will leak the reference.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services