From a54bad0c3cf1fdfe2ac7524f23178355d027901a Mon Sep 17 00:00:00 2001 From: Pranshu Maheshwari Date: Thu, 19 Sep 2024 12:55:40 -0400 Subject: [PATCH] Removed partial to request Queues access --- src/content/docs/queues/get-started.mdx | 14 +++++--------- .../web-crawler-with-browser-rendering/index.mdx | 6 ------ 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/content/docs/queues/get-started.mdx b/src/content/docs/queues/get-started.mdx index c10bd5291759992..b1340b1ca3ccc1c 100644 --- a/src/content/docs/queues/get-started.mdx +++ b/src/content/docs/queues/get-started.mdx @@ -18,11 +18,7 @@ To use Queues, you will need: -## 1. Enable Queues - - - -## 2. Create a Worker project +## 1. Create a Worker project You will access your queue from a Worker, the producer Worker. You must create at least one producer Worker to publish messages onto your queue. @@ -52,7 +48,7 @@ Move into the newly created directory: cd producer-worker ``` -## 3. Create a queue +## 2. Create a queue To use queues, you need to create at least one queue to publish messages to and consume messages from. @@ -68,7 +64,7 @@ Queue names must be 1 to 63 characters long. Queue names cannot contain special You cannot change your queue name after you have set it. After you create your queue, you will set up your producer Worker to access it. -## 4. Set up your producer worker +## 3. Set up your producer worker To expose your queue to the code inside your Worker, you need to connect your queue to your Worker by creating a binding. [Bindings](/workers/runtime-apis/bindings/) allow your Worker to access resources, such as Queues, on the Cloudflare developer platform. @@ -140,7 +136,7 @@ Copy your `*.workers.dev` subdomain and paste it into a new browser tab. Refresh You have built a queue and a producer Worker to publish messages to the queue. You will now create a consumer Worker to consume the messages published to your queue. Without a consumer Worker, the messages will stay on the queue until they expire, which defaults to four (4) days. -## 5. Create your consumer Worker +## 4. Create your consumer Worker A consumer Worker receives messages from your queue. When the consumer Worker receives your queue's messages, it can write them to another source, such as a logging console or storage objects. @@ -213,7 +209,7 @@ With your `wrangler.toml` file and `index.ts` file configured, publish your cons npx wrangler deploy ``` -## 6. Read messages from your queue +## 5. Read messages from your queue After you set up consumer Worker, you can read messages from the queue. diff --git a/src/content/docs/queues/tutorials/web-crawler-with-browser-rendering/index.mdx b/src/content/docs/queues/tutorials/web-crawler-with-browser-rendering/index.mdx index 17fc455b100d2ce..755b626e3d9bd29 100644 --- a/src/content/docs/queues/tutorials/web-crawler-with-browser-rendering/index.mdx +++ b/src/content/docs/queues/tutorials/web-crawler-with-browser-rendering/index.mdx @@ -31,12 +31,6 @@ You can use Puppeteer to request all images on a page, save the colors used on a -### Queues access - -Additionally, you will need access to Queues. - - - ## 1. Create new Workers application To get started, create a Worker application using the [`create-cloudflare` CLI](https://github.com/cloudflare/workers-sdk/tree/main/packages/create-cloudflare). Open a terminal window and run the following command: