flowchartsman commented on issue #468:
URL: 
https://github.com/apache/pulsar-client-go/issues/468#issuecomment-1011537633


   `HasNext()` gives you the ability to bail when you're caught up. If you just 
loop on `reader.Next(ctx)`, you should get the behavior you desire: the client 
should block until it gets new messages and then process them.


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


Reply via email to