{
  "repo": "pingcap/tiflow",
  "binary": "dm-master",
  "binary_path": "cmd/dm-master/main.go",
  "dependencies": {
    "Runtime DMMaster.serve": {
      "infrastructure": {},
      "services": [
        {
          "name": "embedded-etcd",
          "protocol": "grpc",
          "target_interface": "leader election and metadata storage",
          "purpose": "Persist DM cluster metadata and elect the active master"
        },
        {
          "name": "dm-workers",
          "protocol": "grpc",
          "target_interface": "pb.MasterServer workerrpc",
          "purpose": "Coordinate workers and dispatch migration tasks"
        },
        {
          "name": "openapi-and-status-http",
          "protocol": "http",
          "target_interface": "/apis/, /status, /debug, optional /api/v1 and /dashboard",
          "purpose": "Serve DM control-plane HTTP endpoints and dashboard"
        }
      ]
    }
  }
}
