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



##########
File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/conf/ConsumerConfigurationData.java
##########
@@ -127,6 +129,11 @@
 
     private boolean batchIndexAckEnabled = false;
 
+    public void setAutoUpdatePartitionsIntervalMin(int interval, TimeUnit 
timeUnit) {
+        checkArgument(interval >= 0, "interval needs to be >= 0");

Review comment:
       same here, > 0, would be easy to handle. 




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