netflix-archaius

Netflix Archaius Dynamic Configuration

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-31 07:07:07
问题 I am integrating Hystrix in to my existing project and I want to read the configuration values from an xml file instead of feeding the configuration properties using Configuration Manager. When the values are updated in the xml file I want Hystrix configuration to be updated at runtime. This is the guide I am following: https://github.com/Netflix/archaius/wiki/Users-Guide I understand so far that I can use PolledConfigurationSource and the following code: PolledConfigurationSource source = ..

Memory Leak Issue with spring-cloud-starter-hystrix and spring-cloud-starter-archaius integration

早过忘川 提交于 2019-12-11 01:12:15
问题 We are using spring-cloud-starter-hystrix with spring-cloud-starter-archaius where we are unable to stop the poolingconfigurationSource thread of archaius once the war is un-deployed. But spring-cloud-starter-archaius is working fine without hystrix and thread is stopped once war is un-deployed. 回答1: Try reseting Hystrix before the Spring Application shuts down @EnableCircuitBreaker @SpringBootApplication public class Application { public static void main(String[] args) { SpringApplication