jonyhy96 commented on a change in pull request #360:
URL: https://github.com/apache/pulsar-client-go/pull/360#discussion_r502866773



##########
File path: pulsar/producer.go
##########
@@ -138,6 +138,9 @@ type ProducerOptions struct {
 
        // A chain of interceptors, These interceptors will be called at some 
points defined in ProducerInterceptor interface
        Interceptors ProducerInterceptors
+
+       // MaxReconnectToBroker set the maximum retry number of 
reconnectToBroker. (default: no retry)
+       MaxReconnectToBroker int

Review comment:
       Sure, neither do I want to break the current behavior. The original 
commit of this pr will fulfill our request, please check out the 
[comments](https://github.com/apache/pulsar-client-go/pull/360#discussion_r476231877)
 above. @shohi may have different opinion on this due to his(her) proposal. 
Please take a review.




----------------------------------------------------------------
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:
[email protected]


Reply via email to