# Retention period configuration

PubSub topic stores messages for a specific duration defined by the topic retention period. Subscribers of the topic cannot access messages older than the retention period. So, any new recipe can access all messages, published during the retention period.

# Configure the retention period

You can change the retention period in the Settings tab. The retention period can be between one (1) hour (minimum) and 90 days (maximum). The default setting is seven (7) days.

Retention period and restarting recipes

If you stop a recipe with PubSub trigger for a time period longer than the retention period, it cannot pick up new messages after it restarts. If you experience this issue, clone the recipe and try again.

Topic retention settings Topic retention settings

Last updated: 2/22/2023, 9:59:16 PM