fanjiwang1992 commented on issue #3174:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/3174#issuecomment-1193309762

   > 请问指导文档里负载均衡章节的“根据实例属性进行路由转发”,是否可以完成上述功能? 
服务提供者B默认的tag都是notReady,只有在B初始化完成后,B中的代码把自己的tag设置为Ready; 消费者配置只访问tag为Ready的B的实例。 
如果可以实现,还有个疑问,下面文档中这句话如何理解“实例属性可以在microservice.yaml中指定,也可以通过服务中心的API进行修改”,在代码中需要如何设置tag的属性,还需要单独调用服务中的API接口吗?
 
![image](https://user-images.githubusercontent.com/85001049/177667083-620a1edb-1c5e-4ee5-9aa5-90ba8a2837f6.png)
   
   可以调实例属性更新接口,在配置拉取完成后动态更新自身的实例属性


-- 
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]

Reply via email to