I have created a spring library in which there is a scheduler that fetches the configurations from config-server and injects it into fields of a bean. Refer diagram below: