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

Configuration in femas.yaml cannot be overridden from system.properties #264

Open
lusains opened this issue Nov 3, 2022 · 3 comments
Open
Assignees

Comments

@lusains
Copy link

lusains commented Nov 3, 2022

i will try my best to do it,please assign to me.

@zilongTong
Copy link
Member

Be more specific in describing that issue,plz

@lusains
Copy link
Author

lusains commented Nov 7, 2022

In the class AgentConfig, only the configuration configured in femas.yaml is parsed. Sometimes the configuration is only known when the application starts, such as loadbalancer.type, but it has no effect after being passed in.
reader = new FileReader(AgentPackagePathScanner.getPath() + filePath); BufferedReader buffer = new BufferedReader(reader); conf = yml.load(buffer);

@zilongTong
Copy link
Member

got it,welcome pr.

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

No branches or pull requests

2 participants