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

Enabling RocketMQ ACL

RocketMQ instances support precise identification of producers and consumers through ACL (Access Control List)-based permission management. When ACL is enabled, message production and consumption require authentication.

Prerequisites

A RocketMQ instance has been purchased.

Enabling RocketMQ ACL

  1. Log in to the console.
  2. Click in the upper left corner to select a region.

    Select the region where your RocketMQ instance is located.

  3. Click and choose Middleware > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
  4. Click a RocketMQ instance to go to the instance details page.
  5. In the Connection area, click next to ACL to enable ACL.

    When ACL is enabled, Users is displayed in the navigation pane. You can configure ACL users by referring to Configuring RocketMQ ACL Users.

    • ACL can be configured only for instances purchased after August 21, 2021.
    • Enabling ACL will disconnect clients without authentication configuration.