{
  "repo": "tidbcloud/api-gateway",
  "binary": "ddbtoredis",
  "binary_path": "ddbtoredis/cmd/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "extensions": {},
  "services": [
    {
      "name": "DDBToRedisLifecycle",
      "package": "main",
      "methods": [
        {
          "name": "LoadConfigAndTracing",
          "name_key": "DDBToRedisLifecycle.LoadConfigAndTracing",
          "input": "/etc/ddbtoredis/config.yaml + tracing config",
          "output": "initialized config and tracing runtime",
          "type": "local"
        },
        {
          "name": "StartSyncer",
          "name_key": "DDBToRedisLifecycle.StartSyncer",
          "input": "redis address + dynamodb table + stream subscriber",
          "output": "long-running DynamoDB to Redis sync loop",
          "type": "local"
        }
      ]
    }
  ]
}
