Enriching Payloads with MQTT 5 Metadata using AWS IoT Rules Engine
IoT Builders IoT Builders
2.57K subscribers
400 views
5

 Published On Jun 6, 2023

This video shows how to use the Request/Response MQTT 5 pattern, extract metadata from MQTT messages, such as response topic, correlation data and content type, enrich MQTT payloads with this metadata via an AWS IoT Rules Engine rule and store the enriched data in Amazon Dynamo DB.
The aim is to reduce custom code, therefore the native integration between IoT Rules Engine and Amazon DynamoDB is used.

The demo used in this video is building a simple Vehicle Command Log Store, to keep track of command requests and responses sent to vehicles from app clients.

00:00 - Introduction
00:13 - Scope of the video
00:48 - MQTT Request/Response Pattern Example
2:42 - Overview of Demo Steps
3:18 - Vehicle Command Requests and Response Simulations with MQTTJS MQTTv5 client
4:55 - AWS IoT Rule to Extract MQTT Properties, Add them to the Payload, and Store Log in DynamoDB via an IoT Action
7:20 - AWS IoT Console view of the IoT Rule and Action
9:22 - AWS Console - Amazon DynamoDB Table
10:43 - Summary
11:23 - References and Thank you

show more

Share/Embed