Results 8 comments of kimula

let me confirm, have you installed `apache-pulsar-client-dev.deb`?

~~it seems that this exception doesn't occur with persistent `topicsPattern`. 🤔~~ this was wrong. what mattered was whether or not matching topics exist.

so far i've checked that - `topicsPattern` → `topic` or `topics`: works - other options aren't related - it is not related whether or not the RE is valid. -...

`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++...

@steelone i have not succeeded to run your example yet, but the issue may be caused by the default number of worker threads being 4. can you please try setting...

@steelone i succeeded to run your example and reproduce the problem (it was due to not your example but my environment). i think that using `listener` instead of `while` loop...

@Liapin As far as I confirmed, the example mentioned above did not reproduce the problem. Could you tell me your environment (e.g. OS, pulsar library version, node version) or a...

@liutt1312 it seems to be a problem with the C++ client rather than the Node.js client. please re-create an issue here https://github.com/apache/pulsar .