admin 管理员组

文章数量: 1086019

The document says:

Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas: One app instance can be subscribed to no more than 2000 topics. If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.

I already know what the following part means:

Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas: One app instance can be subscribed to no more than 2000 topics.

But I'm not sure about the following part:

If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.

Does this mean, for example:

If there are 5000 subscribers for a specific topic called "123", and the user sends a notification to this topic, does this last part of the document refer to breaking the limit? Or is it related to something else?

The document says:

Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas: One app instance can be subscribed to no more than 2000 topics. If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.

I already know what the following part means:

Topic messaging supports unlimited subscriptions for each topic. However, FCM enforces limits in these areas: One app instance can be subscribed to no more than 2000 topics.

But I'm not sure about the following part:

If you are using batch import to subscribe app instances, each request is limited to 1000 app instances.

Does this mean, for example:

If there are 5000 subscribers for a specific topic called "123", and the user sends a notification to this topic, does this last part of the document refer to breaking the limit? Or is it related to something else?

Share Improve this question edited Mar 30 at 12:19 halfer 20.4k19 gold badges109 silver badges202 bronze badges asked Mar 27 at 14:17 Mohammed HamdanMohammed Hamdan 1,3831 gold badge14 silver badges42 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

The limit described in your last quote is related to how many tokens can be added to a topic subscription in a single API call. This is not a limit to how many tokens can be subscribed in total (which, per the first quote, is unlimited), just a limit on how many can be added (or removed) per API call.

本文标签: firebaseClarification on FCM Batch Import Limit for Subscribing App InstancesStack Overflow