← Back to team overview

mosquitto-users team mailing list archive

Re: mosquitto.conf and "pattern" vs "topic" (ACL)

 

Hi Stefano,

> pattern write /clid/%c/data

Yes, ok I agree this doesn't work. I'll fix it for 1.2.1, which should
be next week.

The problem was around ACL with a leading / not matching properly. If
you scrap the leading / it will work now. Generally I'd recommend not
starting a topic with a / unless you've got specific reasons to do so.
It is treated as an extra level of hierarchy, like

""/clid/%c/data

which makes it marginally less efficient.

Cheers,

Roger


Follow ups

References