@Bean
    public RegisterClientServerDisruptorPublisher registerClientServerDisruptorPublisher(final List<ShenyuClientRegisterService> shenyuClientRegisterService, final DiscoveryService discoveryService) {
        RegisterClientServerDisruptorPublisher publisher = RegisterClientServerDisruptorPublisher.getInstance();
        Map<String, ShenyuClientRegisterService> registerServiceMap = shenyuClientRegisterService.stream().collect(Collectors.toMap(ShenyuClientRegisterService::rpcType, Function.identity()));
        publisher.start(registerServiceMap, discoveryService);
        return publisher;
    }
Shenyu client server register repository server register repository.

@param shenyuClientRegisterService the shenyu client register service
@param discoveryService the discovery service
@return the shenyu server register repository
shenyu-admin/src/main/java/org/apache/shenyu/admin/config/RegisterCenterConfiguration.java