Is there a way to specify the retention period of messages in the Google / sub cloud pub? Let's say I have a subscriber who started spending messages, but the service crashed and reappeared a day after fixing the error. Can he continue to work from the last checkpoint? How soon should the consumer reconnect to the pub / sub to ensure that he does not lose any messages?
Similarly, Amazon Kinesis can store messages for up to 24 hours, and Kafka can have a storage policy based on time and / or disk space.
source share