{
  "repo": "tikv/migration",
  "binary": "cdc",
  "binary_path": "cdc/cmd/cdc/main.go",
  "surface_kind": "mixed_service",
  "type": "mixed_service",
  "services": [
    {
      "name": "CDC",
      "package": "github.com/tikv/migration/cdc/cmd/cdc",
      "methods": [
        {
          "name": "server",
          "name_key": "Runtime CDC.server",
          "input": "cobra root command + server subcommand flags",
          "output": "long-running TiKV CDC capture server with unified REST and gRPC frontend"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cdc/cmd/cdc/main.go calls cmd.Run, which exposes server, cli, and version subcommands.",
      "The repo-level runtime surface is the server path wired through cdc/pkg/cmd/server/server.go and cdc/cdc/server.go."
    ]
  }
}
