We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 配置中心,动态刷新能力只有在第一次修改配置时触发
To Reproduce 为了防止是自己项目配置问题,clone项目spring-cloud-tencent使用了polaris-config-data-example进行了复现;
spring-cloud-tencent
polaris-config-data-example
teacher.name
/person
Expected behavior 每次修改能正确触发动态刷新能力;
Environment
The text was updated successfully, but these errors were encountered:
@itfsw 使用quickstart-examples试一下呢?https://github.com/Tencent/spring-cloud-tencent/tree/2022.0/spring-cloud-tencent-examples/quickstart-example
Sorry, something went wrong.
或者(选一): 1、Person类添加@RefreshScope注解; 2、ConfigController类删除@RefreshScope注解。
如果服务端使用时 1.18.0 的话,会存在这个 bug,可以把 server 换成这个:https://github.com/polarismesh/polaris/releases/tag/v1.18.1-alpha.0
No branches or pull requests
Describe the bug
配置中心,动态刷新能力只有在第一次修改配置时触发
To Reproduce
为了防止是自己项目配置问题,clone项目
spring-cloud-tencent
使用了polaris-config-data-example
进行了复现;teacher.name
,观察到日志中正确触发了刷新,同时使用/person
接口验证正确更新了bean;teacher.name
,无法触发刷新;Expected behavior
每次修改能正确触发动态刷新能力;
Environment
The text was updated successfully, but these errors were encountered: