Skip to content

Commit 51ce611

Browse files
authored
PIPE-155 Add prefix to Pipelines naming (#18656)
1 parent 112140e commit 51ce611

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2041,17 +2041,19 @@ wrangler pipelines create <name> --r2 <r2-bucket-name> [OPTIONS]
20412041
- The maximum duration of a batch before data is written, in seconds. Default 15s. Maximum of 600s.
20422042
- `--compression` string optional
20432043
- Type of compression to apply to output files. Choices: "none", "gzip", "deflate"
2044+
- `--prefix` string optional
2045+
- Optional base path to store files in the destination bucket.
20442046
- `--filepath` string optional
2045-
- The path to store files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}`
2047+
- The path to store partitioned files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}`
20462048
- `--filename` string optional
2047-
- The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}-${hr}.json`
2049+
- The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}${extension}`
20482050

20492051
### `update`
20502052

20512053
Update an existing pipeline
20522054

20532055
```txt
2054-
wrangler pipelines create <name> [OPTIONS]
2056+
wrangler pipelines update <name> [OPTIONS]
20552057
```
20562058

20572059
- `name` string required
@@ -2066,10 +2068,12 @@ wrangler pipelines create <name> [OPTIONS]
20662068
- The maximum duration of a batch before data is written, in seconds. Default 15s. Maximum of 600s.
20672069
- `--compression` string optional
20682070
- Type of compression to apply to output files. Choices: "none", "gzip", "deflate"
2071+
- `--prefix` string optional
2072+
- Optional base path to store files in the destination bucket.
20692073
- `--filepath` string optional
2070-
- The path to store files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}`
2074+
- The path to store partitioned files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}`
20712075
- `--filename` string optional
2072-
- The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}-${hr}.json`
2076+
- The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}${extension}`
20732077

20742078
### `delete`
20752079

0 commit comments

Comments
 (0)