This module contains all the interfaces needed in registry and discovery. It also implements a direct registry, which you can hard-code services into the service.yml or direct-registry.yml to simulate Consul or Portal Registry during development. Although this is for local development, many users are still using it during production when they have allocated services to the exact IP and port on virtual machines.
Currently, Consul and portal-registry are supported for external service registry and discovery. When Consul Server or Light Portal is unavailable, you can use the Direct Registry as a temporary solution.