Distributed Message Service (DMS) for RocketMQ is message-oriented middleware that delivers low latency, high flexibility, high throughput, dynamic expansion, easy management, and abundant messaging functions. Users can purchase RocketMQ instances. Producer clients can access RocketMQ instances for message production. The produced messages are stored in topics of RocketMQ instances. Consumer clients can subscribe to topics to consume messages.
The following figure shows the process of using a RocketMQ instance to produce and consume messages.
Figure 1 Process of Using RocketMQ

Create IAM users and grant them only the DMS for RocketMQ permissions required to perform a given task based on their job responsibilities.
RocketMQ instances are physically isolated and exclusively occupied by each tenant.
Create a topic for storing messages so that producers can produce messages and consumers can subscribe to messages.
The client connects to RocketMQ instances over a private or public network, and produces and consumes messages.