Spinning up a microservice discovery client

In a microservices architecture where multiple services are deployed, the service discovery client helps the application to find out the services they are dependent on, which can be either through DNS or HTTP. When we talk about service discovery clients one of the most common and famous is Consul by HashiCorp, which we will be spinning up in this recipe.

Get Go Web Development 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.