massakam commented on pull request #182: URL: https://github.com/apache/pulsar-client-node/pull/182#issuecomment-986555301
@rickyes Sorry, [this comment](https://github.com/apache/pulsar-client-node/pull/182#issuecomment-986538154) is incorrect. It seems that `MessageListener` is not triggered until the execution of `subscribeCallback` is completed. `subscribeCallback` is executed on the following line in the C++ client library. And the C++ client will not start receiving messages until this method completes. https://github.com/apache/pulsar/blob/a54c6c003c626cb16d90200ad81dd3ec37be2133/pulsar-client-cpp/lib/ClientConnection.cc#L877 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
