linkis
linkis copied to clipboard
[Feature][linkis-common] CommonVars should support hot-reload feature.
Search before asking
- [X] I had searched in the issues and found no similar feature requirement.
Problem Description
When I changed some configurations, I have to restart the service to load the new configurations.
Description
- Add a scheduled task to reload the configurations.
- The feature supports all old configurations, and will not be applied as default.
- All configurations can independently determine whether or not to apply the feature.
Use case
- define a new configuration in scala: "val a = CommonVars('linkis.testvar.name', 'name1', hotReload=true)"
- started the service, and then change the configuration in linkis.properties.
- check whether the new configuration takes effect.
Solutions
No response
Anything else
No response
Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
:blush: Welcome to the Apache Linkis (incubating) community!!
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context. We will be here shortly.
If you are interested in contributing to our website project, please let us know! You can check out our contributing guide on :point_right: How to Participate in Project Contribution.
Community
| WeChat Assistant | WeChat Public Account |
|---|---|
![]() |
![]() |
Mailing Lists
| name | description | Subscribe | Unsubscribe | archive |
|---|---|---|---|---|
| [email protected] | community activity information | subscribe | unsubscribe | archive |

