linkis icon indicating copy to clipboard operation
linkis copied to clipboard

[Feature][linkis-common] CommonVars should support hot-reload feature.

Open Alexkun opened this issue 3 years ago • 1 comments

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

  1. Add a scheduled task to reload the configurations.
  2. The feature supports all old configurations, and will not be applied as default.
  3. All configurations can independently determine whether or not to apply the feature.

Use case

  1. define a new configuration in scala: "val a = CommonVars('linkis.testvar.name', 'name1', hotReload=true)"
  2. started the service, and then change the configuration in linkis.properties.
  3. 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!

Alexkun avatar Sep 21 '22 10:09 Alexkun

: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

github-actions[bot] avatar Sep 21 '22 10:09 github-actions[bot]