cimura edited a comment on issue #132:
URL: 
https://github.com/apache/pulsar-client-node/issues/132#issuecomment-730811695


   `AlreadyClosed` occurs when there're no matching topics for `topicsPattern`.
   in such case 
[`consumers_`](https://github.com/apache/pulsar/blob/master/pulsar-client-cpp/lib/MultiTopicsConsumerImpl.cc#L382)
 become empty and `closeAsync` passes `ResultAlreadyClosed` to the callback.
   (the same thing is also happening with C++ client but it is not explicitly 
output.)
   
   it may be because with `topicsPattern` a consumer doesn't dynamically create 
topics.


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


Reply via email to