我们可以在Firebase云消息传递中创建多少个主题? [英] How many topics can we make in Firebase Cloud Messaging?

查看:122
本文介绍了我们可以在Firebase云消息传递中创建多少个主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个应用程序,在该应用程序中使用Firebase云消息传递。但我有些怀疑。我想知道我们可以在一个应用程序实例中创建多少个主题?



官方文档它写道:当单个应用程序实例订阅时,


过多的话题


它会检索错误 TOO_MANY_TOPICS p>

我想知道允许多少个主题。我知道我们没有对订阅者数量的限制,这没关系,但我想知道有多少个主题我们可以制作一个应用程序实例吗?感谢任何帮助。

解决方案

对实例可以订阅的主题数量没有限制,这个限制与许多FCM的其他限制是为了防止滥用。如果某个实例订阅少于几千个主题,则您不可能达到上限。但是,如果这样做不够,并且确实达到了订阅限制,那么我建议您联系Firebase支持。


I'm building an app where I am using Firebase Cloud Messaging. But I have some doubts. I want to know how many topics we could make in one app instance?

In official docs it writes that

when a single app instance subscribes to an excessive number of topics

it retrieves error TOO_MANY_TOPICS.

I want to know how many topics is allowed. I know that we don't have constraints about number of subscribers and that is okay, but I want to know how many topics could we make in one app instance. Appreciate any help.

解决方案

There is no hard limit on the number of topics an instance can subscribe to, this limit, like many other limits on FCM are in place to prevent abuse. You are unlikely to hit the limit if an instance is subscribed to less than a few thousand topics. If however this is insufficient and you are indeed hitting the subscription limit then I'd advise that you contact Firebase Support.

这篇关于我们可以在Firebase云消息传递中创建多少个主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆