1 Answers
The only way to do this is to use Cloud Dataflow in addition to Cloud Pub/Sub. There is a 3-part blog post that explores the issue in more detail here: https://cloud.google.com/blog/products/gcp/after-lambda-exactly-once-processing-in-google-cloud-dataflow-part-1