femas icon indicating copy to clipboard operation
femas copied to clipboard

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

Open lusains opened this issue 2 years ago • 3 comments

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

lusains avatar Nov 03 '22 09:11 lusains

Be more specific in describing that issue,plz

zilongTong avatar Nov 07 '22 04:11 zilongTong

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);

lusains avatar Nov 07 '22 06:11 lusains

got it,welcome pr.

zilongTong avatar Nov 07 '22 09:11 zilongTong