ClusterTopologyRefreshOptions.Builder. enableAdaptiveRefreshTrigger (…)
without options should throw IllegalArgumentException
#2575
Labels
type: feature
A new feature
Milestone
Bug Report
I set the cluster topology refresh options in my code
The code is wrong,because no param passed to the enableAdaptiveRefreshTrigger method.
The ClusterTopologyRefreshOptions::Builder::enableAdaptiveRefreshTrigger method souce code :
I think the method should throw IllegalArgumentException if I don't pass any param to the method. But enableAdaptiveRefreshTrigger method didn't work like this,if you don't pass any params to the method ,it wouldn't throw any exceptions (Like the case I mentioned).I think this is a bug
Current Behavior
throw IllegalArgumentException
The text was updated successfully, but these errors were encountered: