Registry / messaging / rocketmq-acl

rocketmq-acl

JSON →
library5.3.1javamavenunverified

Access control list (ACL) module for Apache RocketMQ, providing authentication and authorization for messaging.

<dependency> <groupId>org.apache.rocketmq</groupId> <artifactId>rocketmq-acl</artifactId> <version>5.3.1</version> </dependency>
INSTALL
IMPORT
SIG · ROCKETMQ-ACL
R
rocketmq-acl
messagingjavav5.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AclClientRPCHook
org.apache.rocketmq.acl.common.AclClientRPCHook

Minimal usage of RocketMQ ACL client hook for authentication.

import org.apache.rocketmq.acl.common.AclClientRPCHook; import org.apache.rocketmq.acl.common.SessionCredentials; public class Example { public static void main(String[] args) { SessionCredentials credentials = new SessionCredentials(); credentials.setAccessKey("yourAccessKey"); credentials.setSecretKey("yourSecretKey"); AclClientRPCHook hook = new AclClientRPCHook(credentials); System.out.println("ACL hook created"); } }
Debug
Known issues
gotchaACL configuration requires both broker and client setup; missing configuration can lead to connection failures.
fix
Ensure ACL is enabled on the RocketMQ broker and credentials match.
affects: >=4.4.0
Upgrade
Version history
5.3.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
rocketmq-acl — mvn dependency:get rocketmq-acl · libregistry