Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

"Force" pulling a message from a subscription where the message is in exponential backoff state

Hi, 

I have a subscription configured with an exponential backoff strategy AND message ordering. There is a message that has bad content and is causing failures in the subscriber. I would like to acknowledge this message, but I cannot pull it to get it's ID to be able to manually acknowledge it.

Is there a way to "force" pull a message that is stuck in exponential backoff? 

0 1 221
1 REPLY 1

Would be this command be helpful to your use case ?  gcloud pubsub subscriptions pull See full command here.

Also I suggest applying deadletter topic for this case. Specially if the subscriber cannot acknowledge it.