forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: guoyanyan <guoyanyan3@huawei.com> Co-committed-by: guoyanyan <guoyanyan3@huawei.com>
8.9 KiB
8.9 KiB
Adding a Subscription
Scenarios
To deliver messages published to a topic to endpoints, you must add the subscription endpoints to the topic. Endpoints can be email addresses, phone numbers, message queues, and HTTP/HTTPS URLs. After you add endpoints to the topic and the subscribers confirm the subscription, they are able to receive messages published to the topic.
You can add multiple subscriptions to each topic. This section describes how to add subscriptions to a topic you created or a topic that you have been granted permissions to and how to delete subscriptions.
To Add a Subscription
- Log in to the management console.
- Click
on the upper left to select the desired region and project.
- Under Application, select Simple Message Notification.
The SMN console is displayed.
- In the upper right corner, click Add Subscription.
The Add Subscription dialog box is displayed.
- Specify the required subscription information.
- Click
beside the Topic Name box to select a topic.
- Specify the subscription protocol and endpoints.
- Click
- Click OK.
The subscription you added is displayed in the subscription list.
- To prevent malicious users from attacking subscription endpoints, SMN limits the number of confirmation messages that can be sent to an endpoint within a specified period of time. For details, see Control over Subscription Confirmation Traffic.
- SMN does not check whether subscription endpoints exist when you add subscriptions. However, subscribers will not receive notification messages until they confirm their subscriptions.
- After you add a subscription, SMN sends a confirmation message to the subscription endpoint. The message contains a link for confirming the subscription. The subscription confirmation link is valid within 48 hours. Confirm the subscription on your mobile phone, mailbox, or other endpoints in time.
Parent topic: Subscription Management