You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/08/22 08:13:46 UTC

[GitHub] [dubbo] jiangyunshu commented on issue #10489: 如何使用接口 ServiceDiscovery 获取某个服务名下的所有实例?

jiangyunshu commented on issue #10489:
URL: https://github.com/apache/dubbo/issues/10489#issuecomment-1222006387

   如果非要使用ServiceDiscovery。可以根据不同的协议,构造不同的ServiceDiscovery实例。例如nacos协议,
   ServiceDiscovery serviceDiscovery= new NacosServiceDiscovery( ApplicationModel.defaultModel(),URL.valueOf("nacos://127.0.0.1:8848"));


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org