rdhabalia commented on a change in pull request #577: CPP add receiveAsync API
URL: https://github.com/apache/incubator-pulsar/pull/577#discussion_r128066191
 
 

 ##########
 File path: pulsar-client-cpp/lib/ConsumerImpl.h
 ##########
 @@ -135,6 +137,7 @@ enum ConsumerTopicType {
     ExecutorServicePtr listenerExecutor_;
     ConsumerTopicType consumerTopicType_;
     UnboundedBlockingQueue<Message> incomingMessages_;
+    UnboundedBlockingQueue<ReceiveCallback> pendingReceives_;
 
 Review comment:
   Sure. actually, my motivation to use `UnboundedBlockingQueue` to have 
thread-safe, unbounded collection. Do you see any specific issue with 
`UnboundedBlockingQueue`?
 
----------------------------------------------------------------
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

Reply via email to