heyile commented on issue #1661: 怎么获取同一APPID Provider的所有实例信息 URL: https://github.com/apache/servicecomb-java-chassis/issues/1661#issuecomment-603624186 SDK 使用 DiscoveryTree 过滤出可用的 服务端实例。 什么条件被认为可用,如何过滤 可参考 [负载均衡](https://docs.servicecomb.io/java-chassis/zh_CN/references-handlers/loadbalance/). 过滤逻辑的初始入口和 过滤结果 可参考:LoadbalanceHandler#getOrCreateLoadBalancer 可以自定义扩展 **DiscoveryFilter** 按照自己的业务拿信息。 过滤之后的实例数据存在 invocation 里面。 可以参考 LoadBalancer#chooseServer 拿
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
