Service Directory
Managed service registry resolvable over HTTP, gRPC and DNS.
- Provider
- gcp
- Category
- Operations
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| consensus | enum | none | raft | paxos | zab | no | none | inherited |
| dnsZoneBinding | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ true |
| nodes | integer | — | no | — | inherited |
| replicated | boolean | — | no | false | ▸ true |
| resolution | enum | http | grpc | dns | no | http | inherited |
| role | enum | metadata | lock | discovery | placement | sharding | leader-election | config | yes | — | ▸ discovery |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
shared-dependency-without-redundancy
The design requires redundant discovery, but this DNS or coordination service, which everything depends on, runs on a single provider or a single replica. Its failure is the whole system's failure.
- — all of these hold:
- — the design requirement `availability.discoveryRedundant` is true
- — any of these hold:
- — the node's `redundantProviders` is false
- — the node's `replicated` is false
stateful-engine-pinned-to-single-zone
A matching engine, coordination service or event store living in exactly one availability zone, with no failover and no replication, is lost with that zone. Everything that depends on it stops with it.
- — all of these hold:
- — the node sits inside exactly 1 availability-zone group
- — any of these hold:
- — the node's `failover` is "none"
- — the node's `replicated` is false
- — the node's `replication` is "none"
nodes:
- { id: "service-directory", component: "google-service-directory" }Microservices Enginealibaba-mseAWS Cloud Mapaws-cloud-mapAzure Arcazure-arcAzure Device Registryazure-device-registryDurable Objectscloudflare-durable-objectsApache Helixapache-helixConsulconsulGeneric coordination servicecoordination-serviceetcdetcdEurekaeurekaNacosnacosOxiaoxiaApache ZooKeeperzookeeperEndpointsk8s-endpointsOpenStack Blazaropenstack-blazarOpenStack Cyborgopenstack-cyborgOpenStack Placementopenstack-placement
# yaml-language-server: $schema=../../schema/component.schema.json # Service Directory namespace: a managed service registry resolvable over HTTP, gRPC and DNS. # Defaults from "Service Directory overview": fully managed, Google handles availability, redundancy and scaling; DNS resolution comes from a Cloud DNS private zone bound to the namespace. schemaVersion: "1" type: "component" id: "google-service-directory" kind: "coordination-service" provider: "gcp" docs: "https://cloud.google.com/service-directory/docs/overview" defaults: managed: true role: "discovery" replicated: true properties: resolution: type: "enum" values: ["http", "grpc", "dns"] default: "http" dnsZoneBinding: type: "boolean" default: false