You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Rename `wrangler pipelines show` to `wrangler pipelines get` * Remove `--enable-http|worker-binding` in favor of `--source <sources...>` format Replace `--enable-worker-binding` and `--enable-http` with `--source worker` and `--source http` (or `--source http worker` for both). This also refactors how these bindings get added to the pipeline configuration, opting for a handler pattern instead of multiple if statements. * Remove `--file-template` and `--partition-template` flags from `wrangler pipelines create|update` * Prettify `wrangler pipelines get <pipeline>` output ✨ * Clarify defaults, minimums, and maximums for pipelines commands We specifically do not use yargs `default` field as these values are purely informational and the API is the ultimate decider of what the default value will be at a given time. * Show pipelines command in wrangler help * update snapshots * Fix updating CORS origins for pipelines * Fix upper limit on batch-max-rows --------- Co-authored-by: Peter Bacon Darwin <pbacondarwin@cloudflare.com>
pipeline The name of the new pipeline [string] [required]
287
308
288
309
Source settings
289
-
--enable-worker-binding Send data from a Worker to a Pipeline using a Binding [boolean] [default: true]
290
-
--enable-http Generate an endpoint to ingest data via HTTP [boolean] [default: true]
291
-
--require-http-auth Require Cloudflare API Token for HTTPS endpoint authentication [boolean] [default: false]
292
-
--cors-origins CORS origin allowlist for HTTP endpoint (use * for any origin) [array]
310
+
--source Space separated list of allowed sources. Options are 'http' or 'worker' [array] [default: [\\"http\\",\\"worker\\"]]
311
+
--require-http-auth Require Cloudflare API Token for HTTPS endpoint authentication [boolean] [default: false]
312
+
--cors-origins CORS origin allowlist for HTTP endpoint (use * for any origin). Defaults to an empty array [array]
293
313
294
314
Batch hints
295
-
--batch-max-mb Maximum batch size in megabytes before flushing [number]
296
-
--batch-max-rows Maximum number of rows per batch before flushing [number]
297
-
--batch-max-seconds Maximum age of batch in seconds before flushing [number]
315
+
--batch-max-mb Maximum batch size in megabytes before flushing. Defaults to 100 MB if unset. Minimum: 1, Maximum: 100 [number]
316
+
--batch-max-rows Maximum number of rows per batch before flushing. Defaults to 10,000,000 if unset. Minimum: 100, Maximum: 10,000,000 [number]
317
+
--batch-max-seconds Maximum age of batch in seconds before flushing. Defaults to 300 if unset. Minimum: 1, Maximum: 300 [number]
298
318
299
319
Destination settings
300
320
--r2-bucket Destination R2 bucket name [string] [required]
301
321
--r2-access-key-id R2 service Access Key ID for authentication. Leave empty for OAuth confirmation. [string]
302
322
--r2-secret-access-key R2 service Secret Access Key for authentication. Leave empty for OAuth confirmation. [string]
303
-
--r2-prefix Prefix for storing files in the destination bucket [string] [default: \\"\\"]
323
+
--r2-prefix Prefix for storing files in the destination bucket. Default is no prefix [string] [default: \\"\\"]
304
324
--compression Compression format for output files [string] [choices: \\"none\\", \\"gzip\\", \\"deflate\\"] [default: \\"gzip\\"]
305
-
--file-template Template for individual file names (must include \${slug}). For example: \\"\${slug}.log.gz\\" [string]
306
-
--partition-template Path template for partitioned files in the bucket. If not specified, the default will be used [string]
307
325
308
326
Pipeline settings
309
-
--shard-count Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files [number]
327
+
--shard-count Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15 [number]
310
328
311
329
GLOBAL FLAGS
312
330
-c, --config Path to Wrangler configuration file [string]
0 commit comments