To deliver messages published to a topic to endpoints, you must add the subscription endpoints to the topic.
and select the desired region and project.The SMN console is displayed.
The Topics page is displayed.
Alternatively, click a topic name. In the upper right corner of the displayed page, click Add Subscription.
The Add Subscription dialog box is displayed.
Figure 1 Add Subscription

Parameter | Description |
|---|---|
Topic Name | Specifies the name of the topic to which messages are published. |
Protocol | Specifies the protocol over which messages are sent. Possible values are FunctionGraph (function), Email, HTTP, and HTTPS. |
Method | The following two options are available:
|
Endpoint | Specifies the subscription endpoint. You can add up to 10 email, HTTP, or HTTPS endpoints, one in each line.
|
Request Header | This parameter is only available if HTTP or HTTPS is selected for Protocol. It indicates whether to configure the request header now. If you select Configure now, specify Key and Value. You can add up to 10 request headers. The value of Key must:
|
Version | This parameter is only available if FunctionGraph (function) is selected for Protocol. Select the version for the function. |
Description | Enter the remarks for the subscription. To modify the subscription remarks, click |
The subscription you added is displayed in the subscription list.