Changes between Version 2 and Version 3 of MQTT


Ignore:
Timestamp:
05/27/21 10:30:27 (4 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MQTT

    v2 v3  
    3535{{{
    3636[krit@mini MQTT]$ mosquitto_passwd ./mosquitto/config/passwd alice
    37 }}]
     37}}}
     38
     39With ACL (Access Control List), we allow user to pub/sub to specific topic by
     40{{{
     41[krit@mini MQTT]$ cat mosquitto/config/acls.conf
     42# add by KRIT
     43user admin
     44topic #
     45
     46user alice
     47topic readwrite cat/#
     48
     49user bob
     50topic read  gw/+/status/#
     51topic write gw/+/cmd/#
     52}}}