Best practices

Pub/Sub subscription without dead letter topic

Description

It was detected that the subscription {GcpPubSubSubscription} is not using a dead letter topic. When a message can't be acknowledged, Google Cloud Pub/Sub service can forward the message to a dead-letter topic that stores the message for later access. Configuring dead-letter topics (queues) for your Pub/Sub subscriptions can make your cloud applications more resilient and durable by capturing and storing messages that can't be delivered due to client errors or server errors for further analysis or reprocessing.
  • Recommended Mitigation

    It is recommended to configure a dead-letter topic for your subscription to make your cloud applications more resilient and durable. More information on setting a dead letter topic can be found here <a href="https://cloud.google.com/pubsub/docs/handling-failures#setting-a-dead-letter-topic." target="_blank" rel="noopener noreferrer">https://cloud.google.com/pubsub/docs/handling-failures#setting-a-dead-letter-topic.</a>