Request regarding Retain flag in nRF Cloud MQTT messages

Hello,

We have successfully connected a team device and are receiving telemetry from nRF Cloud via MQTT. We subscribe to prod/{team_id}/m/# and receive all team messages as expected.

However, the messages are published without the Retain flag. This causes message loss whenever our MQTT client is offline.

Could you please clarify:

  1. Is it possible for these topics to be published with the Retain flag enabled?
  2. Alternatively, is there a way to configure this behavior on our side?

Thank you in advance

Parents Reply Children
  • Hello,
    Thank you for the clarification.
    Just to make sure we are on the same page — our request concerns the MQTT communication between nRF Cloud and our backend infrastructure, rather than between individual devices and nRF Cloud.
    Specifically, we are mostly interested in having the Retain flag enabled for data and alert messages, not for configuration-related topics.
    Thank you again for your time and support.
    Best regards
Related