k2la commented on issue #152:
URL: 
https://github.com/apache/pulsar-client-node/issues/152#issuecomment-834007036


   @rkaw92 
   Is it possible to solve this problem by implementing ReaderListener, which 
is implemented in C++ Client and C APIs, in Node.js Client?
   By using ReaderListener, asynchronous read is possible, and read will also 
stop when close is done.
   
   C++: 
https://github.com/apache/pulsar/blob/6704f12104219611164aa2bb5bbdfc929613f1bf/pulsar-client-cpp/lib/ReaderConfiguration.cc#L43-L47
   C API: 
https://github.com/apache/pulsar/blob/master/pulsar-client-cpp/lib/c/c_ReaderConfiguration.cc#L34-L51


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to