Home:ALL Converter>How to route dead letter messages back to the original topic?

How to route dead letter messages back to the original topic?

Ask Time:2020-05-07T12:46:23         Author:Mark McDonald

Json Formatter

I have a Google Cloud Pub/Sub subscription that is using a dead-letter topic. I recently had an outage that was preventing a number of messages from being processed & they ended up in the dead-letter topic.

The outage was resolved and I'd like to easily send the contents of dead letter subscription back to the original subscription. They're all present in the queue still (I have nothing consuming the dead letter sub) so I just need to route them somewhere.

This is an admin task so I'd like it to be manually initiated, if that makes any difference. Ideally via the UI but I can't see anything there.

Author:Mark McDonald,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/61650087/how-to-route-dead-letter-messages-back-to-the-original-topic
yy