You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/02/24 10:59:34 UTC

[GitHub] [pulsar] Matt-Esch opened a new issue #14452: Missing pulsar_consumer_receive_async

Matt-Esch opened a new issue #14452:
URL: https://github.com/apache/pulsar/issues/14452


   **Is your enhancement request related to a problem? Please describe.**
   The c api is missing async definitions of `pulsar_consumer_receive_with_timeout` and `pulsar_consumer_receive`. 
   
   **Describe the solution you'd like**
   I think `pulsar_consumer_receive_with_timeout_async` and pulsar_consumer_receive_async` should be added.
   
   **Describe alternatives you've considered**
   I have considered directly using the C++ api but this involves switching over everything simply because a couple of async definitions are missing. I have also considered writing these functions myself within my own code but it's not possible without being able to unwrap the c types.
   
   **Additional context**
   I am trying to port pulsar-client-node to relying exclusively on async operations rather than worker threads.
   
   


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

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