{
  "repo": "pingcap/ticdc",
  "binary": "pulsar-consumer",
  "binary_path": "cmd/pulsar-consumer/main.go",
  "dependencies": {
    "Runtime PulsarConsumer.runPulsarConsumer": {
      "infrastructure": {
        "pulsar": {
          "conditions": [
            "Always after CLI parsing succeeds"
          ],
          "operations": [
            {
              "operation": "CONSUME CHANGE EVENTS",
              "trigger": "Connect to the configured Pulsar upstream and stream change events",
              "conditions": [
                "The upstream URI has a supported Pulsar scheme"
              ],
              "implementation": "newConsumer(ctx, consumerOption) and consumer.Run(ctx)"
            }
          ]
        }
      },
      "services": [
        {
          "name": "downstream-sink",
          "protocol": "sink-specific",
          "target_interface": "configured downstream URI",
          "purpose": "Apply consumed Pulsar events to the downstream system"
        }
      ]
    }
  }
}
