AWS IoT Core now supports MQTT retained messages
Share
Services
Retained messages is a standard MQTT feature that provides an easy way for you to store the latest important message on a topic for future subscribers. With [AWS IoT Core](/iot-core/), you can now use retained messages to easily push configuration information or important updates to devices without knowing exactly when they will come online.
When you publish a message with the retained flag set, all current subscribers to that topic will receive the message as normal, but AWS IoT Core will also store the message and automatically deliver it to any future subscribers. As a result, you do not have to worry about tracking when devices come online in order to make sure they receive the message, or alternatively having them wait for the next publish message.
You can use the [AWS IoT Device SDKs](https://docs.aws.amazon.com/iot/latest/developerguide/iot-sdks.html) or your own MQTT 3.1.1 compliant client to publish a retained message. Alternatively, you can use [HTTP APIs](https://docs.aws.amazon.com/iot/latest/apireference/API%5FOperations%5FAWS%5FIoT%5FData%5FPlane.html) via the AWS CLI to publish, get, and retrieve the retained messages. In addition, you can view and manage retained messages in your account from the [Retained Messages page](https://console.aws.amazon.com/iot/#/retainedMessages) in the AWS IoT Core console. This page provides a paginated list of MQTT topics that have a retained message, and enables you to retrieve, update, or delete the retained message for a specific MQTT topic.
The retained messages feature is supported in all AWS Regions where [AWS IoT Core is available](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/). Visit the [MQTT retained messages documentation](https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html#mqtt-retain) to learn more. For information about AWS IoT Core, visit the [product page](/iot-core/).
What else is happening at Amazon Web Services?
Amazon Bedrock Model Evaluation now supports evaluating custom models
about 22 hours ago
Services
Share
Read update
Services
Share