hunter2046 commented on a change in pull request #514:
URL: https://github.com/apache/pulsar-client-go/pull/514#discussion_r631399889
##########
File path: pulsar/producer_impl.go
##########
@@ -87,6 +88,9 @@ func newProducer(client *client, options *ProducerOptions)
(*producer, error) {
if options.BatchingMaxPublishDelay <= 0 {
options.BatchingMaxPublishDelay = defaultBatchingMaxPublishDelay
}
+ if options.PartitionsAutoDiscoveryInterval == 0 {
Review comment:
Thanks for the catch. Updated the check to include negative values.
--
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]