描述你需要的功能
EMQX6.0
docker部署
并没有设置ACL,MQTTX提示无法订阅。使用代码订阅$q/{xxxx}无响应
你可以看看 emqx 的 debug 日志。你第 9 行的 allow all,应该会允许所有的订阅才对。
我按这个流程走了一次,是可以的。
2025-11-06T11:37:18.038347+08:00 [warning] tag: AUTHZ, clientid: hivemq-client-sub-queue, msg: authorization_permission_denied, peername: 58.59.67.182:13831, username: client2, topic: $q/demo/topic, source: mq, action: SUBSCRIBE(Q1)
你还有其它authz?
或者把你整个的authz file给上传上来