Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to the Messages page on the console and then choose the History Storage tab:

    image-20240227-203859.png

    image-20240227-203952.png

    image-20240227-204314.png

    Note to ClearBlade IoTCore users: there will be an existing item in History Storage for topic /devices/+/state. DO NOT EDIT OR DELETE THAT ITEM.

  2. Click Add Topic and configure the History Storage item:

    image-20240227-204623.png
    1. Enter the topic for which message history should be stored. Use wildcards + and # as appropriate for MQTT topics. e.g. /devices/+/commands/#

    2. Check the Platform (i.e. cloud) and/or Edge checkboxes as appropriate. It does not hurt to have both checked if only one is used. For most customers Messages only need to be stored on the Platform.

    3. Set a value for Max Rows. We highly recommend to NOT set this to Infinite! Set this to a maximum number of messages to store beyond the benefit of storing messages is diminished.

    4. Set a value for Max Time. We highly recommended to NOT set this to Forever. Set this to a maximum time beyond which a reconnecting device SHOULD be treated as a newly connecting device.ing

NOTE: Messages contain binary payloads will be Hex-encoded when saved to Message History.