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
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- I am trying to run java application in Eclipse, When I try to do Run > Run as > Java Application it starts to show little processing but nothing happe
- CISCO refuses to turn off spanning tree for specific vlans
- Resolve paths dynamically based on directory where test (or tested files) is located in Jest
- `android` Does Not Exist in `~/Android/Sdk/platform-tools`
- jboss configuration via ipv6 version jboss-eap-7.4
- I can't find a conenction diagarm for the OV7670 camera to the ESP8266
- Locally testing OS environmental variables in Ballerina
- Why is the build configuration always choosing production?
- App Configuration affecting VS Web Server Hosting
- IServiceCollectionConfigurator' does not contain a definition for 'UsingRabbitMq'
- Localhost Not Working After Creating Virtual Host in XAMPP
- Why am i unable to download MySql?
- Azure App Configuration - Replica for 429 HTTP responses
- TYPO3: tx-form custom fluid templates and class for submit button
Related Questions in MICROSERVICES
- HTTP Requests from SSL Secured(HTTPS) Domain Failing
- Separation of Students and Users in NestJS Microservice architecture
- How to choose port number for various microservices? whatever port number I use is already used-blocked or I'm not able to use them
- Handling feign exception in Spring boot using RestControllerAdvice
- Javers in microservice architecture
- Kafka integration between two micro service which can respond back to the same function initiated the request
- HTTP 401 unauthorized ASP.NET Core Web API microservices
- Minikube tunnel - Ingress not working on windows
- importing class in microservice 1 from another microservice 2
- Eureka Discovery client is not register under API-GATEWAY\host.docker.internal
- Unable to PUT JSON using ADF Dataflow, the error is "the JSON value could not be converted to System.Collections.Generic.List"
- Using Django as API gateway & authorizations service in Microservice
- How to fix HTTPS on express-gateway
- Websocket duplicate on headers
- migrate from django migrations to fastapi alembic
Related Questions in CONSUL
- Handling Microservice Failures in a Consul-Managed Architecture
- Hashi Consul installed - now getting daily errors and lots of logs
- Consul ACL - Policies
- Redirect from one traefik to another one to, to a docker registry
- How to block consul UI on all machine except the host machine?
- Is there any clue about this issue "db failed to initialize or resync"?
- nginx server location mapping conflict
- Hashicorp consul: Failed to verify certificate: x509: certificate specifies an incompatible key usage
- Hashicorp Consul: invalid certificate, certificate is not valid for server.dc1.consul.hello.com
- Accessed Consul cluster's KV store with TLS and ACL enabled through code, but Spring Boot configuration failure
- consul server throw rpc error making call: ACL not found after running for some times
- How do I create a read-only ACL for Consul so that Datadog can monitor it?
- Spring boot consul on Kubernetes
- How to register an instantiated object as IOptions in .NET Core
- Consul all service checks failing with service with server ssl enabled true
Related Questions in CONSUL-KV
- How to block consul UI on all machine except the host machine?
- How to override modifyIndex in consul kv
- Curl command appending local system drive path
- How to get the modify index of a key in consul after setting it?
- Fetching property which have whitespaces in key from consul
- Consul (KV) is wiping off all data when restarting Kubernetes cluster
- Terraform and Consul: how to test if values exist/have been changed, and act accordingly
- Consul: increment a counter in a KV atomically with multiple nodes
- Reading through Consul keys data in terraform
- consul-template failed writing file: missing destination
- Access consul-api from consul-connect-service-mesh
- Consul KV Store returns 403 on the parent folder of my key
- Configure Consul Watches with HTTP Endpoint Handler through CLI
- Install 2 Consul's client agents (separated clusters) on the same host
- Assigning Environment Variables from Consul KV using consul-template
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 # Hahtags
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.