public ZookeeperConfig setMaxRetries(final int maxRetries) {
        this.maxRetries = maxRetries;
        return this;
    }
set max retries count.
@param maxRetries max retries
@return zk config.
shenyu-registry/shenyu-registry-zookeeper/src/main/java/org/apache/shenyu/registry/zookeeper/ZookeeperConfig.java