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

pubsub emulator: how to set up dead-letter queue

Hi,

"dead-letter queues" have been supported by the emulator since July 2021: https://cloud.google.com/sdk/docs/release-notes#pubsub_emulator_5. However, docs are sparse. Can someone share how to set up DLQ for the pubsub emulator? Thanks!

0 3 1,588
3 REPLIES 3

Here's another documentation that might help you which includes configuring and setting up dead letter topic.

Thanks for your reply!

The doc is for real pubsubs. Does it apply to the pubsub emulator as well? If so, can you show me an example of configuring DLQ for the emulator from the command line? Thanks!

Same problem here. Trying to test DLQ-specific scenario, but can't figure out how to set it up.
Are there examples anywhere?