DEV Community

Discussion on: Twelve-Factor Application: Configuration in Spring

Collapse
blackr1234 profile image
blackr1234

To be honest, I feel that using Spring Cloud Config is a little bit contradicting the idea of 12F Config.

From the 12F website about Config, it says we should use env vars, or files that are not checked into source control. However, from the Spring Cloud Config doc, it demonstrates how one can build a config server to read configs from Git.

Also, the website discourages grouping configs, such as dev, test, prod, which exactly is the idea of profiles in Spring, one fundamental part in Spring.