jai1 commented on a change in pull request #577: CPP add receiveAsync API URL: https://github.com/apache/incubator-pulsar/pull/577#discussion_r128073352
########## 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: What if consumer is not initialized - most of the other async operations in Consumer.cc return a ResultConsumerNotInitialized . ---------------------------------------------------------------- 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
