gpt4 book ai didi

google-cloud-pubsub - google cloud pubsub订阅真的可以自动删除吗?

转载 作者:行者123 更新时间:2023-12-05 02:18:35 26 4
gpt4 key购买 nike

来自文档:

Subscriptions with no activity (push successes or pull requests) for 31 days may be deleted automatically

我需要设置一个推送消息订阅,它的使用率可能非常低(每年几条消息),但对应用程序至关重要。

上面来自官方文档的一句话让我跳了起来!我应该依赖 google pubsub 还是远离它?是否有关于此自动机制的更多信息?

需要建议。

最佳答案

截至 May 16, 2019 的更新答案

Google Cloud Pub/Sub 能够 modify subscription expiration policies .

To prevent a subscription from expiring, set the expiration period to never.

Pub/Sub 订阅者概述概述了 lifecycle of a subscription :

By default, subscriptions expire after 31 days of inactivity (for instance, if there are no active connections, pull requests, or push successes). If Pub/Sub detects subscriber activity, the subscription deletion clock restarts. Using subscription expiration policies, you can configure the inactivity duration or make the subscription persistent regardless of activity. You can also delete a subscription manually.

关于google-cloud-pubsub - google cloud pubsub订阅真的可以自动删除吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44898498/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com