We've already seen how to do service discovery using HashiCorp Consul and integrate it with our application. This recipe will go over an alternative, and a very popular service discovery framework from Netflix-Eureka. Eureka was developed by Netflix to help solve the problem of service discovery, health checking, and load balancing for their RESTful services in AWS.
Unlike Consul, Eureka is solely focused on the task of service discovery, and does not provide many additional functionalities, such as key/value store service or event delivery. It is, however, very good at what it does and should be considered a viable candidate for a service discovery solution.