You may consider to use the seek feature which allows users to extends subscriber functionality by allowing to alter the acknowledgement state of messages in bulk (ie. replay previously acknowledged messages or purge messages in bulk).
It can work by seeking to a timestamp which marks every message received by Pub/Sub before the time as acknowledged, and all messages received after the time as unacknowledged. Another way is seeking to a snapshot which allows capturing the message acknowledgment state of a subscription.
This YouTube video provides further details into it and this quickstart for working examples.--
You received this message because you are subscribed to the Google Groups "pubsub-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloud-pubsub-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/9f390a8d-6608-43e2-b302-7511e9480c90n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloud-pubsub-discuss/9a14ddc9-331f-4069-aa18-605e073d42b4n%40googlegroups.com.