gperinazzo opened a new pull request #56: Add listener support for consumer
URL: https://github.com/apache/pulsar-client-node/pull/56
 
 
   Adds support for a listener function to the Consumer, using the C++ client 
listener support.
   
   Using `Receive` currently will block a thread from the Node worker poll. If 
enough consumers are waiting to receive messages from pulsar at the same time, 
this will completely clog the worker poll.
   
   Since #14, `node-addon-api` has added support for `ThreadSafeFunction`'s, 
allowing callbacks to be made from native threads. This pull request updates 
the `node-addon-api` dependency version to use this, but that will increase the 
minimum supported node version.
   
   This paves the way to use the async functions from the pulsar C++ client 
properly.

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


With regards,
Apache Git Services

Reply via email to