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 2020/05/22 02:29:51 UTC

[GitHub] [pulsar-client-go] jonyhy96 commented on issue #257: Retry number limit in reconnectToBroker

jonyhy96 commented on issue #257:
URL: https://github.com/apache/pulsar-client-go/issues/257#issuecomment-632443576


   @jiazhai Thanks for reply.
   > This behavior looks fine. It could avoid user to manually reconnect.
   I also like this auto reconnect feature but i think maybe we can give the ability of config this behavior to the user, so users can decide the max number of retry should the client make.
   
   I'm facing the problem that when i running a consumer inside a kubernetes pod,if network error happens or the pulsar broker is terminated, it will try to reconnect to the broker infinitely.
   This could be a waste of resources.If this behavior is configurable or there is some retry policy i can chose will help a lot.
   
   


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