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 2019/12/31 23:29:30 UTC
[GitHub] [pulsar-client-go] cckellogg commented on issue #152: Support
receive timeout
cckellogg commented on issue #152: Support receive timeout
URL: https://github.com/apache/pulsar-client-go/issues/152#issuecomment-570005088
Doesn't the consumer already support a receive timeout?
https://golang.org/pkg/context/#WithTimeout
You can create a context with a timeout and if that expires the receive will return.
----------------------------------------------------------------
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
With regards,
Apache Git Services