You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/05/31 11:18:09 UTC

[GitHub] [servicecomb-java-chassis] SenixCoder opened a new issue #2399: 根据特定条件,指定访问某一实例

SenixCoder opened a new issue #2399:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2399


   一个服务端存在多个实例,客户端想要根据某些条件访问指定实例(例如上一次接口调用的),该怎么去做呢?
   
   我看文档中写到
   ``` 
   Endpoint 描述当前请求需要发往的实例地址。 这个 context 参数只能够在 consumer 端的 PRC 接口使用。当 微服务存在多个实例的时候,可以使用这种方式指定将请求发往哪个实例。
   ```
   这个SchemaDiscoveryService接口该怎么使用呢?
   
   这个接口和AbstractEndpointDiscoveryFilter该使用哪一个呢?


-- 
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:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] fanjiang-2021 commented on issue #2399: 根据特定条件,指定访问某一实例

Posted by GitBox <gi...@apache.org>.
fanjiang-2021 commented on issue #2399:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2399#issuecomment-851442132


   可以实现这个接口看看 org.apache.servicecomb.loadbalance.ServerListFilterExt  类似灰度


-- 
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:
users@infra.apache.org