Basic concepts of the topic-based model
Updated at:
This topic defines the key terms related to the topic-based model of Simple Message Queue (formerly MNS). Understanding these terms will help you use the topic-based model.
Topic
- The destination and storage address for published messages.
Account
- The Alibaba Cloud account ID of a user.
Publisher
- A client that publishes messages to a topic.
Subscriber
- A client that receives messages from a topic. By default, the topic owner has the permission to subscribe to the topic.
Subscription
- A relationship between a topic and a subscriber. A subscriber must create a subscription to receive messages that are published to the topic.
Message filtering tag (FilterTag)
- A tag used to filter messages in a subscription. Only messages with a matching tag are pushed.
Endpoint
- The address that a subscriber uses to receive messages from a topic.
TopicURL
- Simple Message Queue (formerly MNS). The format is as follows:
http://$AccountId.mns.$Region.aliyuncs.com/topics/$TopicName.- $AccountId: The Alibaba Cloud account ID.
- $Region: The region where the Simple Message Queue (formerly MNS) service is available.
- $TopicName: The name of the topic.
- Simple Message Queue (formerly MNS). The format is as follows:
Message ID
- An ID that identifies a message in a topic. The message ID is unique for each message within a topic, but is not unique across different topics.
Is this page helpful?