Updated on 2024-09-20 GMT+08:00

Process of Using RocketMQ

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
  1. Creating a User and Granting DMS for RocketMQ Permissions

    Create IAM users and grant them only the DMS for RocketMQ permissions required to perform a given task based on their job responsibilities.

  2. Buying a RocketMQ Instance

    RocketMQ instances are physically isolated and exclusively occupied by each tenant.

  3. Creating a RocketMQ Topic

    Create a topic for storing messages so that producers can produce messages and consumers can subscribe to messages.

  4. Accessing an Instance

    The client connects to RocketMQ instances over a private or public network, and produces and consumes messages.