BewareMyPower commented on issue #184: URL: https://github.com/apache/pulsar-client-python/issues/184#issuecomment-1869966625
I got your point now. Unfortunately, the Pulsar Python client is not well integrated with Python coroutines. It's a callback-based solution rather than coroutine. As you can see, the `send_async` method **is not a method that can be await-ed**. Therefore, you need a traditional way to handle it just like your workaround that queues the results. BTW, I just found you have already checked the similar discussion: https://github.com/apache/pulsar-client-python/issues/55. > Can this be documented at the very least then? Sure. > Additionally, doco on pulsar.Result types would be great I agree. I opened another issue for it: https://github.com/apache/pulsar-client-python/issues/185 -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org