MQTT Eventbus and retain

Set the retain flag to true in mqtt.cfg. You can only set the retain flag for an entire broker. If you need some messages to be retained and some not retained you need to configure two broker configurations in mqtt.cfg, one with the retain flag set and one without. Then select the one with the flag set in the mqtt-eventbus.cfg.

1 Like