I have a push subscription that sends message to a Cloud Run service. If the Cloud Run service does not acknowledge the message successfully (negative acknowledgement) I want to resend the message a maximum number of times with always the same time interval between retries (e.g. 10 retries with each retry after 1 min.).
- I know I can set the maximum number of times a message is resend with a dead letter queue (Can I also set this number without a dead letter queue? So just discard/remove the message after a max. number of delivery attempts without the message going to another queue?).
- Also with the retry policy I can set the minimum backoff (e.g. 1 min.) to decide after what time the first retry will happen but after that PubSub's retry policy uses some exponential delay. Can I not specify here a linear delay (always same time interval)?
Is this possible somehow with the PubSub push subscription settings mentioned here https://cloud.google.com/pubsub/docs/admin#using_subscription_properties?
Thanks in advance for any help.