Skip to content

Commit 1202122

Browse files
committed
Improved changelog entry
1 parent 9e5f092 commit 1202122

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/content/changelog/queues/2025-04-17-pull-consumer-limits.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,27 @@ products:
66
date: 2025-04-17 12:00:00 UTC
77
---
88

9-
[Queues Pull Consumers](/queues/configuration/pull-consumers/) can now consume 5,000 messages per second per queue. Previously, pull consumers were subject to a global rate limit of 1200 requests / 5 minutes, aggregated across all queues.
9+
[Queues Pull Consumers](/queues/configuration/pull-consumers/) can now consume **5,000 messages per second per queue**. Previously, pull consumers were limited to 1200 requests / 5 minutes, aggregated across all queues.
1010

11-
Pull consumers allow you to consume messages from a queue over HTTP from any environment, including from outside [Cloudflare Workers](/workers). Pull consumers are also useful when you need to carefully control the consumption rate of messages.
11+
Pull consumers allow you to consume messages over HTTP from any environmentincluding outside of [Cloudflare Workers](/workers). They’re also useful when you need fine-grained control over how quickly messages are consumed.
1212

13-
To create a new queue and enable a pull based consumer, run the following commands using the Cloudflare CLI [Wrangler](/workers/wrangler/):
13+
To setup a new queue with a pull based consumer using [Wrangler](/workers/wrangler/), run:
1414
```bash title="Create a queue with a pull based consumer"
1515
$ npx wrangler queues create my-queue
1616
$ npx wrangler queues consumer http add my-queue
1717
```
18-
Alternatively, you can do these operations using the [REST API](/api/resources/queues/subresources/consumers/methods/create/) or the Queues dashboard.
18+
You can also configure a pull consumer using the [REST API](/api/resources/queues/subresources/consumers/methods/create/) or the Queues dashboard.
1919

20-
Once your queue is setup with a pull consumer, you can pull messages using any HTTP client. Requests from your HTTP client require a [Cloudflare API Token](/fundamentals/api/get-started/create-token/), with permissions for `queues_read` and `queues_write`. For example, this `curl` command will pull messages from a queue:
20+
Once configured, you can pull messages from the queue using any HTTP client. You'll need a [Cloudflare API Token](/fundamentals/api/get-started/create-token/) with `queues_read` and `queues_write` permissions. For example:
2121
```bash title="Pull messages from a queue"
2222
curl "https://api.cloudflare.com/client/v4/accounts/${CF_ACCOUNT_ID}/queues/${QUEUE_ID}/messages/pull" \
2323
--header "Authorization: Bearer ${API_TOKEN}" \
2424
--header "Content-Type: application/json" \
2525
--data '{ "visibility_timeout": 10000, "batch_size": 2 }'
2626
```
2727

28-
Head over to the [pull consumer documentation](/queues/configuration/pull-consumers) to learn how to acknowledge / retry messages, pull batches, and setup multiple consumers.
28+
To learn more about how to acknowledge / retry messages, pull batches, and setup multiple consumers, refer to the [pull consumer documentation](/queues/configuration/pull-consumers)
2929

30-
As always, Queues doesn't charge for data egress. Pull operations continue to be billed at the [existing rate](/queues/platform/pricing), of $0.40 / million operations. The updated pull consumer limits are available today, on all new and existing queues. If you haven't used Cloudflare Queues before, [get started with the Cloudflare Queues guide](/queues/get-started).
30+
As always, Queues doesn't charge for data egress. Pull operations are billed at the [existing rate](/queues/platform/pricing), of $0.40 / million operations.
31+
32+
The updated limits are available today, on all new and existing queues. And if you're new to Queues, [get started with the Cloudflare Queues guide](/queues/get-started).

0 commit comments

Comments
 (0)