Preparations

Last Updated on : 2023-06-01 06:20:12download

A cloud project provides the message subscription feature. If the device status in the project changes, such as registration, data reporting, and offline events, Message Gateway is used to actively push the data of subscribed events. This helps to implement real-time and persistent messages.

Prerequisites

For more information about prerequisites for integrating the message gateway, see Quick Start of application development services.

Get started with development

After understanding the integration process, you need to get to know the open message types to develop your IoT services.

Push message practices

FAQs

What is the application scenario of message subscription?

When the device status changes, the message gateway forwards the subscribed messages. You can timely get device messages to analyze or store them.

Can I forward and receive specific types of messages?

After the message subscription is enabled, you will receive all types of messages.

Why cannot I receive device messages?

Perform the following troubleshooting steps:

  1. Check whether the message subscription is enabled.
  2. Check the environment configuration of the Pulsar client.
  3. Check whether the device is added to the test device and whether Pulsar is in the official environment.