What happens to Pub/Sub messages if no subscription acknowledges them before the message retention duration expires?

Google Cloud (GCP) Hard

Google Cloud (GCP) — Hard

What happens to Pub/Sub messages if no subscription acknowledges them before the message retention duration expires?

Key points

  • Message retention duration is crucial for Pub/Sub message lifecycle
  • Unacknowledged messages are removed after the retention period
  • Pub/Sub does not automatically archive or re-publish unacknowledged messages
  • Acknowledgment is necessary to prevent message deletion

Ready to go further?

Related questions