I've a setup with Spring Cloud Config Server and Client as described in the response here. The next thing I'm trying to do is load the properties from application.properties in the client when the service starts. Once I call /actuator/refresh I would like to load it from the Config Server. Is this even possible? Thanks!
Asked
Active
Viewed 83 times
0
-
You need to use @RefreshScope annotation I think. Look at this guide: https://spring.io/guides/gs/centralized-configuration/ – Habil Oct 01 '20 at 05:16
-
Same issue with @RefreshScope. It directly loads from db – John Doe Oct 01 '20 at 21:32