github.com/pachyderm/pachyderm@v1.13.4/examples/spouts/go-rabbitmq-spout/pipelines/spout.pipeline.json (about)

     1  {
     2      "pipeline": {
     3          "name": "rabbitmq-spout"
     4      },
     5      "spout": {},
     6      "description": "A spout that reads from rabbitmq and writes files to a repo",
     7      "transform": {
     8          "cmd": [
     9              "/bin/app",
    10              "-topic",     "test-topic",
    11              "-overwrite", "true"
    12          ],
    13          "image": "pachyderm/example-rabbitmq-spout:1.12.2",
    14          "env": {
    15              "PREFETCH": "2000",
    16              "FLUSH_INTERVAL_MS": "10000",
    17              "SWITCH_INTERVAL_MS": "60000",
    18              "EXTENSION": "ndjson",
    19              "TEST": "false",
    20              "RABBITMQ_HOST": "rabbitmq.default.svc.cluster.local:5672",
    21              "RABBITMQ_USER": "peter",
    22              "RABBITMQ_PROTOCOL": "amqps",
    23              "SWITCH_BRANCH": "master",
    24              "COMMIT_BRANCH": "staging"
    25          },
    26          "secrets": [{
    27              "name": "rabbitmq-password",
    28              "key": "rabbitmq-password",
    29              "env_var": "RABBITMQ_PASSWORD"
    30          }]
    31      }
    32  }
    33