apollo icon indicating copy to clipboard operation
apollo copied to clipboard

WatchKeys相关疑问

Open wanggang19 opened this issue 2 years ago • 1 comments

image image Client端启动的时候,会像NotificationControllerV2发起长轮询,如图所示,总是会watch自己应用所设置的集群和default集群,也就是default配置变动的时候也会通知对应的Client端,但是Client端发起请求拉取配置的时候却不会拉取default的配置,这么做的原因是什么呢?

wanggang19 avatar Sep 08 '22 09:09 wanggang19

client 实际生效的配置会按照优先级查找多个集群,在订阅的时候不感知具体哪个集群有配置,所以都会订阅

image

nobodyiam avatar Sep 09 '22 01:09 nobodyiam

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 09 '22 03:10 stale[bot]

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

stale[bot] avatar Oct 16 '22 08:10 stale[bot]