Try it now and let us know what you think.Switch to the new look

You can return to the original look by selecting English in the language selector above.Message Broker for AWS IoT

The AWS IoT message broker is a publish/subscribe broker service that enables the sending and receiving of messages to and from AWS IoT. When communicating with AWS IoT, a client sends a message addressed to a topic likeSensor/temp/room1.

We do not recommend using personally identifiable information in your topic names.

The message broker, in turn, sends the message to all clients that have registered to receive messages for that topic. The act of sending the message is referred to aspublishing. The act of registering to receive messages for a topic filter is referred to assubscribing.

The topic namespace is isolated for each AWS account and region pair. For example, theSensor/temp/room1topic for an AWS account is independent from theSensor/temp/room1topic for another AWS account. This is true of regions, too. TheSensor/temp/room1topic in the same AWS account in us-east-1 is independent from the same topic in us-east-2. AWS IoT does not support sending and receiving messages across AWS accounts and regions.

The message broker maintains a list of all client sessions and the subscriptions for each session. When a message is published on a topic, the broker checks for sessions with subscriptions that map to the topic. The broker then forwards the publish message to all sessions that have a currently connected client.

If your use case does not require IoT, seeAWS Messagingfor information about other AWS messaging services that better fit your requirements.

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

We use cookies to provide and improve our services. By using our site, you consent to cookies.Learn more