Replies: 1 comment 3 replies
-
I think you could start debugging from the following class:
It is very helpful to understand how the apollo java client works. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我看了下源代码,搭建了个基于spring boot 的简单环境。
我的理解是:
apollo client 更新配置主要是通过更新修改
PropertySource
然后再遍历所有的@Value
注解并更新值,来达到实时变更配置属性的目的。但是我有一个地方始终没有找到,就是apollo client 是在哪里对
PropertySource
进行更新调用的。我看到apollo 加了一个ApolloPropertySources
属性源,并添加到优先级比较高的位置。但是他的值是在哪里进行更新的呢?Beta Was this translation helpful? Give feedback.
All reactions