wind-c / comqtt

A lightweight, high-performance go mqtt server(v3.0|v3.1.1|v5.0) supporting distributed cluster
MIT License
869 stars 50 forks source link

Cannot receive/send any message when acl is configured #92

Open abbychau opened 2 weeks ago

abbychau commented 2 weeks ago

I set this config: image

and the client receives no messages after that.

if acl-mode is 0, then the results can be received image

my acl config block is :

acl:
  table: acl
  user-column: username # or client_id, set this parameter based on the actual field name
  topic-column: topic
  access-column: access  # 0 Deny、1 publish (Write)、2 subscribe (Read)、3 pubsub (ReadWrite)