This feature allows the chunking of MQTT payloads published between AAM and Edge nodes. This feature is only available on versions 3.6+. Both AAM and Edge nodes must be at the required version.
How to use
In the web GUI, go to “App Manager” in the top bar.
...
Info |
---|
To enable payload chunking between AAM and an Edge node, only one of the devices needs to have chunking enabled, either AAM or the Edge node. So enabling chunking for AAM would enable chunking between AAM and all of its nodes that are able to chunk payloads. |
How does it work (prob more for devs)
Chunked payloads are published to asiManager/chunked/<nodeId>
, where nodeId
can be a UUID of an Edge node or the literal manager
to denote AAM.
The chunked payload itself is a JSON blob with the following shape:
Code Block | ||
---|---|---|
| ||
{
"topic": string, // The actual topic of the chunked MQTT message
"chunk": string, // Base64 encoded byte string chunk of MQTT payload
"part": integer, // The order of the chunk in a sequence
"out_hash": string, // MD5 hash of the completed payload, is only sent with the last chunk to denote that the sender is finished sending chunks "id": string // ID of the MQTT message as a UUID } |
...
payloads |
...
. |