Setting up Consul

So far, everything that we have been doing with the configuration was connected to the local set of data. In a real large-scale enterprise environment, this is not always the case and quite frequently, there is a desire to be able to make the configuration changes at large—across hundreds or even thousands of instances or machines.

There are a number of tools that exist to help you with this task, and in this recipe, we will take a look at one that—in my opinion—stands out from the group, giving you the ability to cleanly and elegantly configure the environment variables for a starting application using a distributed data store. The tool's name is Consul. It is an open source product from Hashicorp and is designed to discover ...

Get Spring Boot Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.