public ConsumerConfig<T> setReconnectPeriod(int reconnectPeriod) {
        this.reconnectPeriod = reconnectPeriod;
        return this;
    }
Sets router.

@param router the router
@return the router
core/api/src/main/java/com/alipay/sofa/rpc/config/ConsumerConfig.java