Skip to content

Commit 83fa0d6

Browse files
committed
PCX Review
1 parent 3ada326 commit 83fa0d6

File tree

6 files changed

+59
-54
lines changed

6 files changed

+59
-54
lines changed

src/content/changelog/queues/2025-08-18-event-subscriptions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ products:
66
date: 2025-08-18 12:00:00 UTC
77
---
88

9-
[Queues](/queues/) can now subscribe to events from other Cloudflare services (e.g., [KV](/kv/), [Workers AI](/workers-ai), [Workers](/workers)), allowing you to build custom workflows, integrations, and logic in response to account activity.
9+
[Queues](/queues/) can now subscribe to events from other Cloudflare services (for example, [Workers KV](/kv/), [Workers AI](/workers-ai), [Workers](/workers)), allowing you to build custom workflows, integrations, and logic in response to account activity.
1010

1111
![Event subscriptions architecture](~/assets/images/queues/queues-event-subscriptions.png)
1212

src/content/docs/queues/event-subscriptions/events-schemas.mdx

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This page provides a comprehensive reference of available event sources and thei
1616

1717
#### `bucket.created`
1818

19-
Triggered when a bucket was created.
19+
Triggered when a bucket is created.
2020

2121
**Example:**
2222

@@ -43,7 +43,7 @@ Triggered when a bucket was created.
4343

4444
#### `bucket.deleted`
4545

46-
Triggered when a bucket was deleted.
46+
Triggered when a bucket is deleted.
4747

4848
**Example:**
4949

@@ -70,7 +70,7 @@ Triggered when a bucket was deleted.
7070

7171
#### `job.started`
7272

73-
Triggered when a migration job was started.
73+
Triggered when a migration job starts.
7474

7575
**Example:**
7676

@@ -108,7 +108,7 @@ Triggered when a migration job was started.
108108

109109
#### `job.paused`
110110

111-
Triggered when a migration job was paused.
111+
Triggered when a migration job pauses.
112112

113113
**Example:**
114114

@@ -132,7 +132,7 @@ Triggered when a migration job was paused.
132132

133133
#### `job.resumed`
134134

135-
Triggered when a migration job was resumed.
135+
Triggered when a migration job resumes.
136136

137137
**Example:**
138138

@@ -156,7 +156,7 @@ Triggered when a migration job was resumed.
156156

157157
#### `job.completed`
158158

159-
Triggered when a migration job finished.
159+
Triggered when a migration job finishes.
160160

161161
**Example:**
162162

@@ -184,7 +184,7 @@ Triggered when a migration job finished.
184184

185185
#### `job.aborted`
186186

187-
Triggered when a migration job was manually aborted.
187+
Triggered when a migration job is manually aborted.
188188

189189
**Example:**
190190

@@ -235,7 +235,7 @@ Triggered when a migration job was manually aborted.
235235

236236
#### `index.created`
237237

238-
Triggered when an index was created.
238+
Triggered when an index is created.
239239

240240
**Example:**
241241

@@ -264,7 +264,7 @@ Triggered when an index was created.
264264

265265
#### `index.deleted`
266266

267-
Triggered when an index was deleted.
267+
Triggered when an index is deleted.
268268

269269
**Example:**
270270

@@ -370,7 +370,7 @@ Triggered when a batch request has failed.
370370

371371
#### `build.started`
372372

373-
Triggered when a build was started.
373+
Triggered when a build starts.
374374

375375
**Example:**
376376

@@ -414,7 +414,7 @@ Triggered when a build was started.
414414

415415
#### `build.failed`
416416

417-
Triggered when a build failed.
417+
Triggered when a build fails.
418418

419419
**Example:**
420420

@@ -458,7 +458,7 @@ Triggered when a build failed.
458458

459459
#### `build.canceled`
460460

461-
Triggered when a build was canceled.
461+
Triggered when a build is canceled.
462462

463463
**Example:**
464464

@@ -502,7 +502,7 @@ Triggered when a build was canceled.
502502

503503
#### `build.succeeded`
504504

505-
Triggered when a build completed successfully.
505+
Triggered when a build succeeds.
506506

507507
**Example:**
508508

@@ -548,7 +548,7 @@ Triggered when a build completed successfully.
548548

549549
#### `namespace.created`
550550

551-
Triggered when a namespace was created.
551+
Triggered when a namespace is created.
552552

553553
**Example:**
554554

@@ -573,7 +573,7 @@ Triggered when a namespace was created.
573573

574574
#### `namespace.deleted`
575575

576-
Triggered when a namespace was deleted.
576+
Triggered when a namespace is deleted.
577577

578578
**Example:**
579579

@@ -626,7 +626,7 @@ Triggered when an instance was created and is awaiting execution.
626626

627627
#### `instance.started`
628628

629-
Triggered when an instance started or resumed execution.
629+
Triggered when an instance starts or resumes execution.
630630

631631
**Example:**
632632

@@ -652,7 +652,7 @@ Triggered when an instance started or resumed execution.
652652

653653
#### `instance.paused`
654654

655-
Triggered when an instance paused execution.
655+
Triggered when an instance pauses execution.
656656

657657
**Example:**
658658

@@ -678,7 +678,7 @@ Triggered when an instance paused execution.
678678

679679
#### `instance.errored`
680680

681-
Triggered when an instance step threw an error.
681+
Triggered when an instance step throws an error.
682682

683683
**Example:**
684684

@@ -704,7 +704,7 @@ Triggered when an instance step threw an error.
704704

705705
#### `instance.terminated`
706706

707-
Triggered when an instance was manually terminated.
707+
Triggered when an instance is manually terminated.
708708

709709
**Example:**
710710

@@ -730,7 +730,7 @@ Triggered when an instance was manually terminated.
730730

731731
#### `instance.completed`
732732

733-
Triggered when an instance finished execution successfully.
733+
Triggered when an instance finishes execution successfully.
734734

735735
**Example:**
736736

@@ -764,6 +764,6 @@ All events include these common fields:
764764
| `source` | object | Contains source-specific information like IDs and names |
765765
| `metadata.accountId` | string | Your Cloudflare account ID |
766766
| `metadata.eventSubscriptionId` | string | The subscription that triggered this event |
767-
| `metadata.eventSchemaVersion` | number | Version of the event schema |
768-
| `metadata.eventTimestamp` | string | ISO 8601 timestamp when the event occurred |
769-
| `payload` | object | Event-specific data containing details about what happened |
767+
| `metadata.eventSchemaVersion` | number | The version of the event schema |
768+
| `metadata.eventTimestamp` | string | The ISO 8601 timestamp when the event occurred |
769+
| `payload` | object | The event-specific data containing details about what happened |

src/content/docs/queues/event-subscriptions/manage-event-subscriptions.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
pcx_content_type: configuration
33
title: Manage event subscriptions
4-
description: Learn how to create, view, and delete event subscriptions for your queues
4+
description: Learn how to create, view, and delete event subscriptions for your queues.
55
sidebar:
66
order: 1
77
---
@@ -24,17 +24,17 @@ Creating a subscription allows your queue to receive messages when events occur
2424
### Dashboard
2525

2626
<Steps>
27-
1. From the Cloudflare dashboard, go to **Storage & Databases** > **Queues**.
27+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
2828
2. Select the queue you want to add a subscription to.
2929
3. Switch to the **Subscriptions** tab.
3030
4. Select **Subscribe to events**.
31-
5. Select the desired source and events.
31+
5. Name your subscription, and select the desired source and events.
3232
6. Select **Subscribe**.
3333
</Steps>
3434

3535
### Wrangler CLI
3636

37-
To create a subscription using Wrangler, run the [`queues subscription create command`](/workers/wrangler/commands/#subscription-create):
37+
To create a subscription using Wrangler, run the [`queues subscription create command`](/queues/reference/wrangler-commands/#queues-subscription-create):
3838

3939
```bash
4040
npx wrangler queues subscription create <queue-name> --source <source-type> --events <event1,event2> --<source-specific-option> <value>
@@ -44,19 +44,19 @@ To learn more about which sources and events you can subscribe to, refer to [Eve
4444

4545
## View existing subscriptions
4646

47-
You can view all subscriptions configured for a queue to see what events it's currently receiving.
47+
You can view all subscriptions configured for a queue to see what events it is currently receiving.
4848

4949
### Dashboard
5050

5151
<Steps>
52-
1. From the Cloudflare dashboard, go to **Storage & Databases** > **Queues**.
52+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
5353
2. Select the queue you want to view subscriptions for.
5454
3. Switch to the **Subscriptions** tab.
5555
</Steps>
5656

5757
### Wrangler CLI
5858

59-
To list subscriptions for a queue, run the [`queues subscription list command`](/workers/wrangler/commands/#subscription-list):
59+
To list subscriptions for a queue, run the [`queues subscription list command`](/queues/reference/wrangler-commands/#queues-subscription-list):
6060

6161
```bash
6262
npx wrangler queues subscription list <queue-name>
@@ -69,7 +69,7 @@ When you delete a subscription, your queue will stop receiving messages for thos
6969
### Dashboard
7070

7171
<Steps>
72-
1. From the Cloudflare dashboard, go to **Storage & Databases** > **Queues**.
72+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and go to **Compute & AI** > **Queues**.
7373
2. Select the queue containing the subscription you want to delete.
7474
3. Switch to the **Subscriptions** tab.
7575
4. Select **...** for the subscription you want to delete.
@@ -78,7 +78,7 @@ When you delete a subscription, your queue will stop receiving messages for thos
7878

7979
### Wrangler CLI
8080

81-
To delete a subscription, run the [`queues subscription delete command`](/workers/wrangler/commands/#subscription-delete):
81+
To delete a subscription, run the [`queues subscription delete command`](/queues/reference/wrangler-commands/#queues-subscription-delete):
8282

8383
```bash
8484
npx wrangler queues subscription delete <queue-name> --id <subscription-id>
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
---
22
pcx_content_type: navigation
33
title: Wrangler commands
4-
external_link: /workers/wrangler/commands/#queues
54
sidebar:
65
order: 30
76

87
---
8+
9+
import { Render } from "~/components";
10+
11+
Queues Wrangler commands use REST APIs to interact with the control plane. This page lists the Wrangler commands for Queues.
12+
13+
<Render file="wrangler-commands/queues" product="workers" />

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,10 @@ Manage your [Pipelines](/pipelines/).
12101210

12111211
---
12121212

1213+
## `queues`
1214+
1215+
Manage your Workers [Queues](/queues/) configurations.
1216+
12131217
<Render file="wrangler-commands/queues" product="workers" />
12141218

12151219
---

0 commit comments

Comments
 (0)