GithubHelp home page GithubHelp logo

Comments (4)

szpak avatar szpak commented on May 28, 2024

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.

Vad1mo avatar Vad1mo commented on May 28, 2024

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.

spencergibb avatar spencergibb commented on May 28, 2024

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.

dsyer avatar dsyer commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.