I recently gave a presentation on how you can use Consul (http://consul.io) for all your service discovery needs in a microservice architecture. The presentation contains a couple of extensive demos whose sources and explanations can be found here: https://github.com/josdirksen/next-build-consul.
Presentation: Service Discovery in a Microservice Architecture
Consul provides an opinionated framework for service discovery and eliminates the guess-work and development effort.
Join the DZone community and get the full member experience.Join For Free
Published at DZone with permission of Jos Dirksen, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.