public void addRouter(List<String> router) {
        if (this.router == null) {
            this.router = new ArrayList<>();
        }
        this.router.addAll(router);
    }
Gets on connect.

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