Overview
Microgateway supports service discovery and provides capability to publish APIs to runtime service registries.
In a micro-service landscape, service registries provide the information about service instances and their location or endpoints. This information enables the service discovery during runtime. Accordingly you can configure a Microgateway instance to register all its provisioned APIs to a service registry. During startup, it generates one service registry entry per API. The endpoints of the registered APIs are based on the host and port of the Microgateway instance. Multiple Microgateway instances can expose the same APIs and register them to the same service registry. The service registry then shows all the endpoints of the given APIs. During shutdown, a Microgateway instance removes the service registry entries it has generated.
Microgateway currently supports the following service registries.
Eureka Eureka is a REST-based service for locating services for the purpose of load balancing and failover of middle-tier servers. It has been primarily designed for applications in the AWS cloud.
Service Consul Service Consul is a tool for discovering and configuring services in IT infrastructure.