-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Changelog for pause & purge #21134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changelog for pause & purge #21134
Changes from 13 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
138b640
Updated changelog for pause and purge
maheshwarip 0f49a10
Updated changelog entry
maheshwarip e75067f
Fixed capitalization
maheshwarip 011b919
typos
maheshwarip b4cb1ce
Made less verbose
maheshwarip 6d55e91
Added link
maheshwarip 3fa1e43
Added links
maheshwarip 4f825b4
Update src/content/changelog/queues/2025-03-25-pause-purge-queues.mdx
maheshwarip d597580
Update src/content/changelog/queues/2025-03-25-pause-purge-queues.mdx
maheshwarip f76ef1f
Updated changelog with links
maheshwarip 2c7e591
Update src/content/changelog/queues/2025-03-25-pause-purge-queues.mdx
maheshwarip e3c4166
Update queues.yaml
maheshwarip 8da9866
Update 2025-03-25-pause-purge-queues.mdx
maheshwarip b240917
Apply suggestions from code review
Oxyjun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions
37
src/content/changelog/queues/2025-03-25-pause-purge-queues.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| --- | ||
| title: New Pause & Purge APIs for Queues | ||
| description: Queues now supports the ability to pause delivery and/or delete messages from a queue, allowing you to better manage queue backlogs. | ||
| products: | ||
| - queues | ||
| date: 2025-03-27 12:00:00 UTC | ||
| --- | ||
|
|
||
| [Queues](/queues/) now supports the ability to pause message delivery and/or purge (delete) messages on a queue. These operations can be useful when: | ||
|
|
||
| * Your consumer has a bug or downtime, and you want to stop messages from being processed temporarily while you fix the bug | ||
| * If you've pushed invalid messages to a queue due to a code change during development, and you want to clean up the backlog | ||
Oxyjun marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * Your queue has a backlog that is stale and you want to clean it up to allow new messages to be consumed | ||
|
|
||
| To pause a queue using [Wrangler](/workers/wrangler/), run the `pause-delivery` command. Paused queues continue to receive messages. And you can easily unpause a queue using the `resume-delivery` command. | ||
| ```bash title="Pause and resume a queue" | ||
| $ wrangler queues pause-delivery my-queue | ||
| Pausing message delivery for queue my-queue. | ||
| Paused message delivery for queue my-queue. | ||
|
|
||
| $ wrangler queues resume-delivery my-queue | ||
| Resuming message delivery for queue my-queue. | ||
| Resumed message delivery for queue my-queue. | ||
| ``` | ||
|
|
||
| Purging a queue permanently deletes all messages in the queue. Unlike pausing, purging is an irreversible operation: | ||
| ```bash title="Purge a queue" | ||
| $ wrangler queues purge my-queue | ||
| ✔ This operation will permanently delete all the messages in queue my-queue. Type my-queue to proceed. … my-queue | ||
| Purged queue 'my-queue' | ||
| ``` | ||
|
|
||
| You can also do these operations using the [Queues REST API](/api/resources/queues/), or the dashboard page for a queue. | ||
|
|
||
|  | ||
|
|
||
| This feature is available on all new and existing queues. Head over to the [pause and purge documentation](/queues/configuration/pause-purge) to learn more. And if you haven't used Cloudflare Queues before, [get started with the Cloudflare Queues guide](/queues/get-started). | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.