zzzming commented on code in PR #876:
URL: https://github.com/apache/pulsar-client-go/pull/876#discussion_r1009426096
##########
pulsar/producer_impl.go:
##########
@@ -90,7 +93,7 @@ func newProducer(client *client, options *ProducerOptions)
(*producer, error) {
if options.BatchingMaxPublishDelay <= 0 {
options.BatchingMaxPublishDelay = defaultBatchingMaxPublishDelay
}
- if options.PartitionsAutoDiscoveryInterval <= 0 {
+ if options.PartitionsAutoDiscoveryInterval <=
minPartitionAutoDiscoveryInterval {
Review Comment:
Returns an error if PartitionsAutoDiscoveryInterval is less than 1 second
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]