Skip to content

Conversation

@harrim91
Copy link
Contributor

@harrim91 harrim91 commented Dec 23, 2025

Description

Adds variable to configure DLQ message retention period separately to the main queue. The default for this variable is 14 days.

Set two templates queues to use the updated module code from my local filesytem. One has an explicit dlq retention period of 600 seconds (10 minutes). The other does not explicitly set the variable so will use the default.

Screenshot 2025-12-23 at 10 23 30

Deployed my sandbox environment from my laptop. The DLQ's are correctly configured:

Screenshot 2025-12-23 at 10 28 52 Screenshot 2025-12-23 at 10 29 05

Context

We had some DLQ items in templates prod which got deleted when the 1 day retention period expired.
The default retention period is 1 day, and the DLQ retention period wasn't directly configurable.
The default retention period for DLQ's in core is 14 days, so this matches that.

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@harrim91 harrim91 requested a review from a team as a code owner December 23, 2025 10:03
alexnuttall
alexnuttall previously approved these changes Dec 23, 2025
mark-r-bjss
mark-r-bjss previously approved these changes Dec 23, 2025
@harrim91 harrim91 added this pull request to the merge queue Dec 23, 2025
Merged via the queue into main with commit 2ecedc6 Dec 23, 2025
29 checks passed
@harrim91 harrim91 deleted the feature/CCM-13638_dlq-retention-period branch December 23, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants