How is the service discovery and service registration done in case of micoservices?

@anilsagar

Consul (https://www.consul.io/) and Etcd (etcd) are popular tools for this.