[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[],[],null,["FCM topic messaging lets you to send a message to multiple devices\nthat have opted in to a particular topic. You compose topic messages as needed,\nand FCM handles routing and delivering the message reliably to the\nright devices.\n\nKey points about topic messaging:\n\n- Best suited for publicly available information like weather alerts.\n- Topic messages are optimized for throughput rather than latency. For fast, secure delivery to single devices or small groups, [target messages](/docs/cloud-messaging/send-messages/send/v1-api#send-messages-to-specific-devices) to registration tokens instead of topics.\n- Topic messaging supports unlimited subscriptions per topic, with the following limits:\n - An app instance can subscribe to a maximum of 2000 topics.\n - Batch subscription requests for subscribing app instances are limited to 1000 instances per request.\n - New subscription frequency is rate-limited per project. Exceeding the limit results in a `429\n RESOURCE_EXHAUSTED` error; retry with exponential backoff.\n\nQuotas and limits\n\nTopic messaging supports unlimited subscriptions for each topic. However,\nFCM enforces limits in these areas:\n\n- One app instance can be subscribed to no more than 2000 topics.\n- If you are using [batch subscription](https://developers.google.com/instance-id/reference/server#manage_relationship_maps_for_multiple_app_instances) to subscribe app instances, each request is limited to 1000 app instances.\n- The frequency of new subscriptions is rate-limited per project. If you send too many subscription requests in a short period of time, FCM servers will respond with a `429 RESOURCE_EXHAUSTED` (\"quota exceeded\") response. Retry with exponential backoff.\n\nNext Steps\n\n- Learn how to [Manage Topic Subscriptions](/docs/cloud-messaging/doc-revamp/targeting-user-groups/manage-topic-subscriptions) using the Admin SDK or from your client app.\n- Learn how to [Send Messages to Topics](/docs/cloud-messaging/doc-revamp/targeting-user-groups/send-topic-messages) using the Admin SDK or the FCM v1 HTTP API."]]