The Alibaba Cloud account can play the following roles in Message Service (MNS): queue owner, message producer, message consumer, topic owner, message publisher, and message subscriber.
- Account
- The Alibaba Cloud account. In MNS, an account ID is used to identify an Alibaba Cloud account.
Queue-based MNS services
- Queue owner
- After you activate MNS for your Alibaba Cloud account, you can call the CreateQueue operation to create a queue. The Alibaba Cloud account is the queue owner and has full management permissions on the queue. You can view the account ID of the queue owner on the official website of Alibaba Cloud.
- Message producer
- The client that sends messages to the queue.
- Message consumer
- The client that receives messages from the queue.
Topic-based MNS services
- Topic owner
- After you activate MNS for your Alibaba Cloud account, you can call the CreateTopic operation to create a topic. The Alibaba Cloud account is the topic owner and has full management permissions on the topic.
- Message publisher
- The client that publishes messages to the topic.
- Message subscriber
- The client that receives messages from the topic.