All Products
Search
Document Center

Simple Message Queue (formerly MNS):Topic-related terms

Last Updated:Oct 09, 2026

Simple Message Queue (formerly MNS) topics use a publish/subscribe (pub/sub) messaging model. Publishers send messages to a topic, and subscribers receive those messages through subscriptions.

The following table summarizes all terms. See the sections below for details.

TermDescription
TopicThe destination where published messages are sent and stored
PublisherThe client that sends messages to a topic
SubscriberThe client that receives messages from a topic
SubscriptionThe link between a subscriber and a topic
Message filtering tagA tag that controls which messages a subscription delivers
EndpointThe address where a subscriber receives messages
AccountThe Alibaba Cloud account ID, used as part of the TopicURL
TopicURLThe endpoint of Simple Message Queue (formerly MNS)
Message IDThe identifier for a message within a topic

Topic

A topic is the destination where published messages are sent and stored. Publishers send messages to a topic, and subscribers receive messages from the topic.

Publisher

A publisher is the client that sends messages to a topic.

Subscriber

A subscriber is the client that receives messages from a topic. By default, a topic owner is authorized to create subscriptions to the topic.

Subscription

A subscription links a subscriber to a topic. A subscriber client must create a subscription before it can receive messages published to a topic.

Message filtering tag

A message filtering tag controls which messages a subscription delivers. When a filtering tag is set on a subscription, only messages with a matching tag are pushed to the subscriber.

Endpoint

An endpoint is the address where a subscriber receives messages from a topic.

Account

The ID of an Alibaba Cloud account. The account ID is used as part of the TopicURL.

TopicURL

The endpoint of Simple Message Queue (formerly MNS) is in the following format:

http://$AccountId.mns.$Region.aliyuncs.com/topics/$TopicName
VariableDescription
$AccountIdThe ID of your Alibaba Cloud account
$RegionThe region where Simple Message Queue (formerly MNS) is deployed, such as China (Beijing), China (Hangzhou), and China (Qingdao)
$TopicNameThe name of the topic

Message ID

A message ID identifies a message within a topic. Message IDs are unique within each topic but are not unique across topics.