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

关于dynamic-tp的ConfigurationPropertiesBean动态刷新原理的疑惑 #94

Closed
road2master opened this issue Dec 2, 2022 · 1 comment
Labels
question Further information is requested

Comments

@road2master
Copy link

road2master commented Dec 2, 2022

SpringBoot 版本:2.5.8
DynamicTp 版本:1.0.8
配置中心类型:consul
问题描述:
请问,在consul配置中心更新配置后,客户端加了注解@ConfigurationProperties的Bean(DtpProperties)是怎么自动刷新的,在类DtpProperties处打了断点,看了源码是好像是和consul的定时任务、应用启动、类ConfigurationPropertiesBinder有关。
image

@road2master road2master changed the title 关于dynamic-tp的ConfigurationPropertiesBean动态刷新的原理 关于dynamic-tp的ConfigurationPropertiesBean动态刷新原理的疑惑 Dec 2, 2022
@yanhom1314
Copy link
Collaborator

推荐看这篇文章后面的部分,看完就懂了,https://juejin.cn/post/7164283773318594597

@yanhom1314 yanhom1314 added the question Further information is requested label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants