rdhabalia commented on a change in pull request #577: CPP add receiveAsync API URL: https://github.com/apache/incubator-pulsar/pull/577#discussion_r128074534
########## File path: pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h ########## @@ -33,6 +33,7 @@ class PulsarWrapper; /// Callback definition for non-data operation typedef boost::function<void(Result result)> ResultCallback; +typedef boost::function<void(const Message& msg)> ReceiveCallback; Review comment: then we should add request into pending-queue and it should complete the callback when the message will be available. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
