Microcast #2 | Introduction to Service Discovery with the Micronaut Frameworkby Sergio Del Amo Caballero
Micronaut® Microcasts provide bite-sized tips and tutorials to help you maximize your productivity with the Micronaut framework and confidently contribute to the ecosystem.
A typical microservice architecture is made up of numerous services communicating with each other, typically over HTTP. One of the challenges associated with an architecture like that is managing the ability for the services to dynamically locate each other at runtime. The Micronaut framework helps simplify that with support for popular service discovery runtimes, including Consul, Eureka, Kubernetes, and AWS Route 53.
This Micronaut Microcast introduces the basics of the Micronaut framework’s service discovery capabilities using Consul, but the approach is very similar for all supported service discovery runtimes.
This introduction and demonstration cover the following topics:
- Creating an application with Consul support
- Configuring Consul connection settings
- Running Consul with docker
- An introduction to declarative HTTP clients
- Client-side load balancing
- Basic retry support
This video provides a basic introduction to the concepts and relevant capabilities in the framework. For more detailed information see the Service Discovery and the Declarative HTTP Client sections of the Micronaut User Guide.