@Bean
    public ClusterForwardFilter clusterForwardFilter(final ClusterProperties clusterProperties) {
        SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory();
        factory.setConnectTimeout(clusterProperties.getConnectionTimeout());
        factory.setReadTimeout(clusterProperties.getReadTimeout());
        return new ClusterForwardFilter(new RestTemplate(factory));
    }
Shenyu cluster forward filter.

@param clusterProperties cluster properties
@return the Shenyu cluster forward filter
shenyu-admin/src/main/java/org/apache/shenyu/admin/config/ClusterConfiguration.java