rele icon indicating copy to clipboard operation
rele copied to clipboard

Add message retention parameter

Open vicmarbev opened this issue 11 months ago • 0 comments

:tophat: What?

Set a default value for subscriptions message retention by default to 24 hours. You can set a custom value by specifying the parameter MESSAGE_RETENTION_DURATION in your Django project.

:thinking: Why?

In Google Pub/Sub pricing page, they state that:

Note: Starting from June 30, 2024, you are going to incur charges for retaining unacknowledged messages with subscriptions for more than 24 hours. If you are able to process the messages within 24 hours, the additional charges are not calculated. To know more, see message retention duration.

:link: Related issue

Add related issue's number. Example: Fix #1

vicmarbev avatar Mar 01 '24 12:03 vicmarbev