MNS allows you to push messages from topics to HTTP servers. This topic describes how to push messages from an MNS topic to an HTTP server in the MNS console.

Prerequisites

The following operations are performed:

Create a topic

To create a topic named MyTopic in the MNS console, perform the following steps:

  1. Log on to the MNS console.
  2. Select a region in the top navigation bar.
  3. In the left-side navigation pane, click Topics.
  4. In the upper-right corner of the Topics page, click Create Topic.
  5. In the Create Topicdialog box, enter a topic name and a maximum message size, and then click OK.

Create a subscription

  1. On the Topics page of the console, find MyTopic. In the Action column, click Subscription List.
  2. In the upper-right corner of the section that appears, click Subscribe.Create a subscription
  3. In the Subscribe dialog box, set the Push Type parameter to http, enter an HTTP endpoint in the Endpoint field, and then click OK.
    Note HTTP endpoints do not support internal IP addresses.

References

For information about how to use the SDK to push messages to HTTP servers, see Manage topics.