I am planning to use consul for storing key/value(configuration) for microservices, Now initially we stored the configuration(key and value) in JSON file, however since i am moving the value to consul , what is the best practice to store keys in microservices config, since the micorservices needs to be aware of which keys to access.
Also what key format should i use to differentiate between global setting in consul(the settings shared between different microservices) and private settings of individual microservices.
What key-format and storage location to use for consul keys in microservices
140 Views Asked by Pharaoh At
1
There are 1 best solutions below
Related Questions in CONFIGURATION
- Logback stopped logging after splitting shared config file
- Understanding Grizzly 1.9.36 internals
- Symfony 2 and php.yml configuration
- Tree configuration to turn on/off the features in java
- Deleting Repeated Services from Android GCM Config File
- What does the dot mean in Symfony service names?
- How to manage configuration data in large projects?
- org.apache.commons.configuration.INIConfiguration: section name with dot (period)
- How to include js files in a Visual Studio project on build
- What is the correct way to use app.config for my plugin when using MEF?
- How run several instances of GWT application in IntelliJIDEA
- ejabberd block messages from users that don't stay in my friend list
- CMake error while configuring "install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl"."
- Need help in configuring Jenkins with Coverity. Getting Error Message
- How do I access the service provider when registering using typescript class
Related Questions in MICROSERVICES
- How can microservices be truly independent when using an ESB (i.e. MassTransit)?
- Microservices and cloud resource limitations
- What's the correct way to embed a remote AngularJS application into a webpage?
- Dropwizard Jersey Client Sample
- Docker auto spawning required connected container types on demand
- Micro Service cross service dependencies
- Keep microservices data consistent
- Setting up rabbitMQ on docker with python
- Adding an item in a microservice, with reference to another one
- Spray microservice assembly deduplicate
- How do you manage per-environment data in Docker-based microservices?
- How to get a visualization of cross-app Spring Integration flow?
- Microservices authentication
- Building authentication with Microservices Architecture
- Microservices service registry registration and discovery
Related Questions in CONSUL
- Does Consul persist the Key Value store?
- Consul agent does not respond
- How do config tools like Consul "push" config updates to clients?
- i/o timeout error using progrium/docker-consul
- How is service discovery not a subset of centralized configuration?
- How to access Consul's DNS interface from a hostmachine?
- How to use variable in Marathon Docker parameters
- Generating -bind parameter in Consul JSON files for use with Marathon
- Accessing consul UI running in docker on OSX
- Consul set up without docker for production use
- Random ports for microservices registered with Consul
- Why does Consul try to connect to my database?
- How to use consul/registration for service discovery on kubernetes nodes?
- How to fix `error starting agent failed to get advertise address multiple private ips found`
- Docker CMD evaluation with ENTRYPOINT
Related Questions in CONSUL-KV
- How to use Consul to perform synchronize task on one machine at a time?
- Using Consul for dynamic configuration management
- Consul KV store endpoints
- Consul KV read from Spring Integration transformers
- Do consul possess an upper limit on number of consul watches?
- Access consul-api from consul-connect-service-mesh
- How to get the configuration for the React app from "CONSUL"
- Not able to read consul key value properties into spring boot application
- Deploy Vault and consul agent in same pod with TLS using helm
- Auto-updated key value in consul?
- Reading through Consul keys data in terraform
- Consul: increment a counter in a KV atomically with multiple nodes
- Does Consul KV supports reading multiple keys?
- Consul HTTP requests to get all kv values
- Possible to initialise Consul Key Value store at startup?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Create a JSON under a key 'global', create a key for each service under its name with the JSON data it needs. Use both keys for each service.