MQTT system topics

23 views
Skip to first unread message

Valer Ag

unread,
Oct 16, 2019, 1:24:31 PM10/16/19
to rabbitmq-users
Hello,

My question is concerned the system topics of MQTT how it is described here SYS-Topics. How am I able to get them in RabbitMQ by using MQTT plugin?
As I understand the MQTT specification, it is not mandatory to provide them on broker. But in link above we can see the chapter "Required Topics" which seems pretty desirable for MQTT brokers.
The reason of this question that I have devices which make decisions about freeze broker by checking "$SYS/broker/uptime" and reconnecting without appropriate answer. 

Is writing special service on preferred language to publish "uptime" every 10 seconds my only option, isn't it? 


And also I want to point at expected behavior for topics beginning with $ in specification MQTT Version 3.1.1. Edited by Andrew Banks and Rahul Gupta. 29 October 2014. OASIS Standard. http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html
'''
4.7.2  Topics beginning with $
The Server MUST NOT match Topic Filters starting with a wildcard character (# or +) with Topic Names beginning with a $ character [MQTT-4.7.2-1]. 
'''
It is not working when I am using MQTT plugin
Reply all
Reply to author
Forward
0 new messages