jai1 commented on a change in pull request #577: CPP add receiveAsync API
URL: https://github.com/apache/incubator-pulsar/pull/577#discussion_r128580922
##########
File path: pulsar-client-cpp/lib/Consumer.cc
##########
@@ -79,6 +79,10 @@ Result Consumer::receive(Message& msg, int timeoutMs) {
return impl_->receive(msg, timeoutMs);
}
+void Consumer::receiveAsync(ReceiveCallback callback) {
+ impl_->receiveAsync(callback);
Review comment:
Missing check for ResultConsumerNotInitialized, like other functions
----------------------------------------------------------------
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