{
  "repo": "pingcap/ticdc",
  "binary": "storage-consumer",
  "binary_path": "cmd/storage-consumer/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "services": [
    {
      "name": "StorageConsumer",
      "package": "github.com/pingcap/ticdc/cmd/storage-consumer",
      "methods": [
        {
          "name": "runStorageConsumer",
          "name_key": "Runtime StorageConsumer.runStorageConsumer",
          "input": "flags + storage upstream URI + downstream sink URI + changefeed config",
          "output": "continuous storage event consumption with optional local pprof endpoint",
          "type": "worker"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cmd/storage-consumer/main.go runs until signalled and optionally exposes pprof on 127.0.0.1:6060.",
      "The binary is a long-running consumer worker, not a one-shot admin CLI."
    ]
  }
}
