The gRPC Service Discovery Adapter is intended to function as a "standard service discovery adapter". It can be used to integrate with service discovery systems such as the Chariott Service Discovery system.
This adapter utilizes the Discover
function of the Chariott Service Registry API and therefore supports Chariott integration. In order to use Chariott with this adapter, you must ensure that the uri
entry in the config matches the URI configured for Chariott's service discovery system.
The gRPC Service Discovery Adapter expects service IDs to be in the following format:
{namespace}/{name}/{version}
These parameters correspond to the DiscoveryRequest
parameters of the same name.
This adapter supports the following configuration settings:
uri
: The URI for Chariott's Service Discovery system.max_retries
: The maximum number of times to retry failed attempts to communicate with Chariott.retry_interval_ms
: The duration between retries in milliseconds.
This adapter supports config overrides. The override filename is grpc_service_discovery_adapter_config.json
, and the default config is located at res/grpc_service_discovery_adapter_config.default.json
.