Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在配置未找到时,去apollo的带缓存的获取配置接口,获取配置 #3

Closed
zplzpl opened this issue Mar 30, 2019 · 1 comment

Comments

@zplzpl
Copy link

zplzpl commented Mar 30, 2019

这个选项有点奇怪,缓存接口并不是这么用。带缓存配置接口用途,是用于配置不敏感的应用,按一个特定的周期,循环获取,不需要notificaiton。比如每30秒更新一遍。

不知道这个AutoFetchOnCacheMiss选项的意图是什么?

用于当程序Get了一个app.properties不存在的namespace?

@zplzpl zplzpl closed this as completed Apr 1, 2019
@shima-park
Copy link
Owner

是的,我之前在看到其它库的issue中看到有人希望有这个功能。初始化配置的时候没有传的namespace,希望能够获取到。提的那个人说在java的客户端中有这个功能。所以我就做上去了,是个可选项看使用者需不需要。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants