Learn about Consul as central K/V configuration server and show its main functionality.
- [Leander] Hi, and welcome back to…Advanced Cloud Native Go.…My name is Leander Reimer and I'm happy to be your host.…Using Consul for simple microservice configuration.…Now, in this video, we're going to take a look at…the following three steps.…First of all, we're going to start and run Consul…using Docker compose, just like we did in a previous video.…Next up, we're going to create some sample…configuration value using the Consul UI, the Rest API,…and maybe also the command line interface of Consul.…
And in the final step we're then going to…retrieve those configurations I'll use…via the Rest API.…So let's get started.…So like previously,…I have prepared a Docker compose file like so.…So in this case, we only fire up Consul itself.…So I specify the image the image again,…I specify the three ports of Consul and that's it.…Open up a Consul, I can set Docker compose up…and Consul will start, and that's it.…
So if I go to the UI of Consul,…here we go, Consul is running,…and I can now navigate here Key/Value section.…
This course was created and produced by Packt Publishing. We are honored to host this training in our library.
- Cloud native application platforms
- Go frameworks and libraries for microservices
- Using Docker for containerization
- Using Kubernetes for orchestration
- Using Consul for microservice discovery and configuration
- Registration and lookup
- Implementing service discovery using Kubernetes
- Microservice communication patterns: Sync and async
- Using circuit breakers for resilient communication
- Implementing message queuing with Rabbitmq
- Using Apache Kafka for publish/subscribe