@Bean(destroyMethod = "shutdown")
    @ConditionalOnMissingBean
    public ShenyuRunningModeService shenyuRunningModeService(final ClusterSelectMasterService shenyuClusterSelectMasterService,
                                                             final UpstreamCheckService upstreamCheckService,
                                                             final LoadServiceDocEntry loadServiceDocEntry,
                                                             final ClusterProperties clusterProperties) {
        LOGGER.info("starting in cluster mode ...");
        return new ShenyuClusterService(shenyuClusterSelectMasterService,
                upstreamCheckService,
                loadServiceDocEntry,
                clusterProperties
        );
    }
Shenyu running mode cluster service.

@param shenyuClusterSelectMasterService shenyu cluster select master service
@param upstreamCheckService upstream check service
@param loadServiceDocEntry load service doc entry
@param clusterProperties cluster properties
@return Shenyu cluster service
shenyu-admin/src/main/java/org/apache/shenyu/admin/config/ClusterConfiguration.java