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 2021/06/22 02:27:19 UTC

[GitHub] [pulsar] BewareMyPower commented on pull request #10982: [docs] Replace endless while loops with MessageListener

BewareMyPower commented on pull request #10982:
URL: https://github.com/apache/pulsar/pull/10982#issuecomment-865472623


   Using `receive`/`receiveAsync` and using `MessageListener` are two different ways for consumer, I think it's better to add a section for the example code that uses `MessageListener`, not just replace the `receive` way with `MessageListener`.


-- 
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:
users@infra.apache.org