Comments (4)
I'm not the author of spring-cloud-config, but for me the primary reason could be a situation when you would like to separate the infrastructure (Git repository) using another (micro)service to provide configuration. That facade just could be possibly replaced when (for some reasons) Git is not welcome anymore. Probably Dave will have more interesting arguments for that architecture.
Nevertheless for our projects we had similar concerns and in the end we created micro-infra-spring-config solution which under the hood uses spring-cloud-config, but simplifies it to keep configuration stored in the local directory - usually Git repository which is updated/pulled with cron (or any other external tool) - what seems to be something what you described in your question.
If you interested @Vad1mo, it is a part of micro-infra-spring stack which provides many common things needed to write custom microservice(s) (like dependencies between microservices), but micro-infra-spring-config can be used separately.
from spring-cloud-config.
I am trying to challenge if having a dedicated config server has any benefit over declaring Git as the config server and merging spring-config-server and sprint-config-client together.
Having an config-server with no added custom code is very suspicious to me for its existence.
from spring-cloud-config.
Encryption is one thing that comes to mind. Right now only config server needs to know about the keys, otherwise, every service would need to know about the keys.
from spring-cloud-config.
The server separates concerns of application and configuration. You could do that with your build and deploy toolchain for sure (by storing the configuration in a different repository and checking it out during deployment), but that's not the only choice, and it's not available to everyone. I would say, though, to keep the separation clean, it needs to be done at deployment time, not at build time.
from spring-cloud-config.
Related Issues (20)
- native image compilation for config server doesn't quite work HOT 4
- Issue with Spring Config server in embedded mode HOT 6
- Add support for CRaC for Config Server and Client HOT 1
- Accepting self-signed certificate of Vault inside of Spring application HOT 4
- spring-cloud-config-monitor Gitee webhook not work HOT 7
- The wording of the client's settings override can be confusing and would be good to fix HOT 8
- spring cloud config server in docker HOT 1
- Upgrade to Spring Vault 3.1.1
- After upgrading spring-cloud-config-client from 4.0.2 to 4.1.0 and Spring Boot from 3.1.5 to 3.2.0 properties from application.yml are missing HOT 16
- Enhance Spring ConfigServer: Introduce {secret} Prefix for Efficient Management of Shared Secrets HOT 16
- Need more detailed information about the new spring.cloud.config.retry.useRandomPolicy property HOT 2
- spring.cloud.config.retry.useRandomPolicy not being applied HOT 2
- Config Server Backend Source HA requirement HOT 6
- Applying common configuration to app level configuration or any feasibility HOT 1
- Ability to customize the default ObservationEnvironmentRepositoryObservationConvention HOT 4
- After upgrading spring-cloud-config-client from 4.0.2 to 4.1.0 and Spring Boot from 3.1.5 to 3.2.0 properties from application.yml are missing
- AWS Parameter Store Environment Repository returns profiles in the wrong order
- spring.main.allow-circular-references=true does not work HOT 1
- Spring Profile Active is not setting
- Incorrect prioritizing of profile specific property sources HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-config.