Skip to content
Discussion options

You must be logged in to vote

All MQTT clients publish to the same topic exchange (amq.topic by default but can be overridden).
Topic permissions exist exactly for the needs of MQTT and STOMP users.

The queues used by the MQTT plugin are named using a convention, mqtt-*, which allows you to limit access to them for a specific user or set of RabbitMQ users.

More importantly, topic permissions include variable expansion and client_id is one of the expanded variables, which can help limit access of specific MQTT clients to just their topics.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@myasul
Comment options

Answer selected by myasul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants