-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Added Queues message retention period documentation #19981
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
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
48adb13
added queues retention period documentation
maheshwarip 30c9ba6
Update src/content/docs/queues/configuration/configure-queues.mdx
maheshwarip a7b2c62
Update src/content/docs/queues/configuration/configure-queues.mdx
maheshwarip 837e6fc
Update 2025-02-14-customize-queue-retention-period.mdx
maheshwarip da508e4
Update src/content/docs/queues/configuration/configure-queues.mdx
maheshwarip 91c8e81
Update src/content/docs/workers/wrangler/commands.mdx
maheshwarip 54153b6
Update src/content/docs/queues/configuration/configure-queues.mdx
maheshwarip f564f67
Update src/content/docs/workers/wrangler/commands.mdx
maheshwarip 70b7920
Update src/content/changelog/queues/2025-02-14-customize-queue-retent…
maheshwarip f44bbb0
Update src/content/changelog/queues/2025-02-14-customize-queue-retent…
maheshwarip fbc5370
Update src/content/changelog/queues/2025-02-14-customize-queue-retent…
maheshwarip 1c73803
Update src/content/changelog/queues/2025-02-14-customize-queue-retent…
maheshwarip 16f7843
Update src/content/changelog/queues/2025-02-14-customize-queue-retent…
maheshwarip 4b0ce9f
Update 2025-02-14-customize-queue-retention-period.mdx
maheshwarip 56ba238
Update 2025-02-14-customize-queue-retention-period.mdx
maheshwarip b5bf465
Update 2025-02-14-customize-queue-retention-period.mdx
maheshwarip f6deb8a
Update 2025-02-14-customize-queue-retention-period.mdx
maheshwarip 8220277
Update configure-queues.mdx
maheshwarip c5aa837
Update commands.mdx
maheshwarip 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.
22 changes: 22 additions & 0 deletions
22
src/content/changelog/queues/2025-02-14-customize-queue-retention-period.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,22 @@ | ||
| --- | ||
| title: Customize Queue message retention periods | ||
| description: Customize the retention period for a queue, starting from 60 seconds to a maximum of 14 days. | ||
| products: | ||
| - queues | ||
| date: 2025-02-14 12:00:00 UTC | ||
| --- | ||
|
|
||
| You can customize a Queue's message retention period, starting from 60s to a maximum of 14 days. Visit the [queues docs](/queues/configuration/configure-queues#queue-configuration) to learn more. | ||
|
|
||
|  | ||
|
|
||
| By default, Queues retain messages for a default of 4 days. Previously, it was impossible to change the retention period. | ||
maheshwarip marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| With this update, you can retain messages for up to 14 days. Or if you want your consumer to only consume newer messages, you can set the message expiry period to be as short as 60 seconds. | ||
|
|
||
| You can customize the retention period on the Queues settings page on the dashboard, or using Wrangler: | ||
maheshwarip marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ```bash title="Update message retention period" | ||
| $ wrangler queues update my-queue --message-retention-period-secs 600 | ||
| ``` | ||
|
|
||
| This feature is available on all new and existing Queues. If you haven't used Cloudflare Queues before, [get started with our guide here](/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
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.