To synchronize data, such as device and user information, between the IoT Platform and a third-party server, use the HTTP/2 SDK or the AMQP SDK (recommended).
Background information
The following diagram shows how data is synchronized using the HTTP/2 or AMQP (recommended) push method.
Note
- The platform no longer supports enabling data synchronization over HTTP. Device and user data can be synchronized only using HTTP/2 or AMQP (recommended).
- Customers who currently use the HTTP push method are not affected and can continue to use it. However, once disabled, it cannot be re-enabled.
- Customers who use both HTTP to push user data and HTTP/2 to push device data must disable and then re-enable data synchronization. After you re-enable data synchronization, both device and user data can be synchronized only using HTTP/2 or AMQP (recommended).
- Customers who currently use only the HTTP/2 push method can switch directly to the recommended AMQP method. The data format and content remain unchanged.
- Both HTTP/2 and AMQP use a best-effort delivery model. If the cloud does not receive an acknowledgement (ACK) for a message, it adds the message to a retry queue and attempts to push it again. If data accumulates, data for the HTTP/2 method is stored for a maximum of 7 days, and data for the AMQP method is stored for a maximum of 1 day.
Procedure
- On the IoT Platform homepage, click API Service.
- Click Enable to turn on the data synchronization switch.
- Select the products for data synchronization.
By default, data synchronization is enabled for all products after you enable the feature. If needed, you can disable data synchronization for specific products.
What to do next
For more information, see AMQP data push.该文章对您有帮助吗?