jiazhai commented on a change in pull request #7840:
URL: https://github.com/apache/pulsar/pull/7840#discussion_r473015096



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ProducerConfigurationData.java
##########
@@ -163,4 +165,8 @@ public long 
batchingPartitionSwitchFrequencyIntervalMicros() {
         return this.batchingPartitionSwitchFrequencyByPublishDelay * 
batchingMaxPublishDelayMicros;
     }
 
+    public void setAutoUpdatePartitionsIntervalMin(int interval, TimeUnit 
timeUnit) {
+        checkArgument(interval >= 0, "interval needs to be >= 0");

Review comment:
       interval > 0?




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