The data forwarding feature of IoT Platform allows you to forward data from a topic to other topics or Alibaba Cloud services for storage or processing.

Background information

Compared with Data Forwarding v1.0, Data Forwarding v2.0 provides a parser that can process complex data and achieve interactions with other cloud services. When you configure a parser, you can add multiple topics to the data source from which data is forwarded to other topics or cloud services.

For more information about data forwarding, see What is data forwarding?.

Features

Feature Description
Create a data source Add topics to the data source from which data is forwarded. You can add multiple topics to a data source.
Create a data destination Add topics or cloud services to the data destination to which data is forwarded.
Configure a parser Create a parser, associate the parser with the created data source and data destination, and then write the parser script to implement data forwarding.

Limits

Item Description Limit
Parser The maximum number of parsers that an instance can contain 1,000
Data source The maximum number of data sources that can be associated with a parser 1
The maximum number of topics that a data source can contain 1,000
Data destination The maximum number of data destinations that can be associated with a parser 10
The maximum number of operations that a data destination can contain 1
The maximum number of error data destinations that can be associated with a parser 1
Parser script The maximum size of a parser script 256 KB

Procedure

  1. Create a data source.
  2. Create a data destination.
  3. Configure and start a parser.

References

  • Script syntax: describes the syntax of a parser script.
  • Functions: describes the functions that can be used in a parser script.
  • Data formats: describes the data formats of basic communication topics and TSL-based communication topics. The data sent to a topic is parsed by using a TSL model. When you write a parser script, you must specify fields based on the parsed data format.