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

support nacos config annotation #3856

Merged

Conversation

shiyiyue1102
Copy link

Describe what this PR does / why we need it

support nacos config annotation.
@NacosConfig : apply to filed ,auto apply value from nacos to specific type filed, support primitive type,properties,object ,collections.
@NacosConfigListener: apply to method , auto notify value from nacos to method's paramized type, support primitive type,properties,object ,collections.
@NacosConfigKeyListener: apply to method, auto notify when key changed from properties or yaml config. accpect ConfigChangeItem param.
@NacosConfigKeyListener: apply to method, auto notify when matched keys changed from properties or yaml config. accpect ConfigChangeEvent param.

Copy link
Collaborator

@chickenlj chickenlj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@chickenlj chickenlj merged commit d93217f into alibaba:2.2.x Sep 26, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants