Google 云 pub/sub 订阅持久性?

Google cloud pub/sub subscription durability?

我一直在他们的网站上阅读有关 Google Cloud Pub/Sub 的信息,它看起来像是我已经实施的消息传递解决方案,但我会考虑转向它,这样我的团队就不会必须维护该代码库。到目前为止,我还没有看到答案的一个细节是关于服务重启后订阅、主题等的持久性。我可能错过了它,我确信这个问题必须在某个地方得到回答,但如果有人能指出我该信息,我将不胜感激。提前致谢!

来自 Google 云端 Pub/Sub FAQ:

Are messages durable or persistent if the subscriber is not present?

Yes. The Pub/Sub system guarantees that subscriptions retain unacknowledged messages in persistent storage for 7 days from the moment they were published. In addition, note that subscriptions whose client presence has not been detected for 30 days may be automatically deleted. For example, if messages are pulled within 30 days of the last Pull operation, this has the effect of restarting the 30 day clock for the subscription deletion; however, any messages published before 7 days may be lost regardless of their acknowledgment state.

更新:

现在您可以转到 this page,在“订阅”部分:

感谢@dxps 的更新!