{
  "schema_version": 2,
  "id": "integrate/redis-data-integration/reference/cli/redis-di-stop",
  "title": "redis-di stop",
  "url": "https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di-stop/",
  "summary": "Stops a pipeline",
  "aliases": [
    "/integrate/redis-data-integration/ingest/reference/cli/redis-di-stop/"
  ],
  "tags": [
    "redis-di"
  ],
  "last_updated": "2026-09-18T16:41:35+01:00",
  "page_type": "content",
  "content_hash": "f1b3345c64e108d0528f171e085b3ea2d122f2c25940f8f5aa7254bab0663792",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Stops a pipeline. By default, the command waits for the pipeline to reach the `stopped` state before\nreturning."
    },
    {
      "id": "usage",
      "title": "Usage",
      "role": "syntax",
      "text": "[code example]\n\nThe pipeline name is an optional argument that defaults to `default`."
    },
    {
      "id": "options",
      "title": "Options",
      "role": "parameters",
      "text": "| Option      | Description                                                                       |\n| :---------- | :-------------------------------------------------------------------------------- |\n| `--source`  | Target only this source instead of the whole pipeline.                            |\n| `--wait`    | Wait for the pipeline to reach the expected state (default `true`).               |\n| `--timeout` | Maximum time to wait for the pipeline to reach the expected state (default `2m`). |\n\nThis command also accepts the\n[global options](https://redis.io/docs/latest/integrate/redis-data-integration/reference/cli/redis-di#global-options)."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "usage-ex0",
      "language": "plaintext",
      "code": "redis-di stop [pipeline] [flags]",
      "section_id": "usage"
    },
    {
      "id": "example-ex0",
      "language": "bash",
      "code": "redis-di stop\n\n# Stop only source mysql\nredis-di stop --source mysql",
      "section_id": "example"
    }
  ]
}
