messageRetentionDuration property

String? messageRetentionDuration
getter/setter pair

How long to retain unacknowledged messages in the subscription's backlog, from the moment a message is published.

If retain_acked_messages is true, then this also configures the retention of acknowledged messages, and thus configures how far back in time a Seek can be done. Defaults to 7 days. Cannot be more than 7 days or less than 10 minutes.

Optional.

Implementation

core.String? messageRetentionDuration;