EMQX auto subscribe

Moki Lv6
1
The authorization will not check permission when clients subscribe to topics through Auto Subscribe.

Fields:

  • NL - no local
  • QOS - QoS
  • RAP - Retain as Published
  • RH - Retain Handling
1
2
3
4
5
6
7
FROM emqx:5.1.6

ENV EMQX_AUTO_SUBSCRIBE__TOPICS__1__NL=1
ENV EMQX_AUTO_SUBSCRIBE__TOPICS__1__QOS=1
ENV EMQX_AUTO_SUBSCRIBE__TOPICS__1__RAP=0
ENV EMQX_AUTO_SUBSCRIBE__TOPICS__1__RH=0
ENV EMQX_AUTO_SUBSCRIBE__TOPICS__1__TOPIC=my/example/\${clientid}/topic
On this page
EMQX auto subscribe