zrlw commented on issue #13298:
URL: https://github.com/apache/dubbo/issues/13298#issuecomment-1789286109

   metadata-type为remote的元数据可以采用下列方式同步:
   从源集群注册中心拉取服务实例 -》 获取每个实例的dubbo.metadata.revision 
-》根据dataId=应用名、group=获取的revision查询源集群元数据中心获取元数据,同步到目标集群元数据中心(ConfigService) 
-》解析元数据json串,获取接口服务services的keySet集合,keySet中的每个key都是“接口名:dubbo”的形式,split拆出接口名 
-》从源集群元数据中心获取dataId=接口名,group=mapping的内容,同步到目标集群元数据中心(ConfigService) -》 
再将服务实例同步到目标集群(NameService)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to