When you create a message inflow or outflow task, you can use the default configurations of EventBridge to define the message conversion rule. This improves task creation efficiency. This topic describes the mappings in the default configurations of EventBridge.
Mappings if the same service is used as the source and destination
If you use the same service as the source and destination of a message inflow or outflow task, refer to the following topics for the mappings:
Mappings if different services are used as the source and destination
If different services are used as the source and destination of a message inflow or outflow task, the default configurations define only the content of the message body. The following tables describe the mappings if different services are used as the source and destination.
Default input parameters if Message Service (MNS) is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for RabbitMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
Data Transmission Service (DTS) | Partial event | $.data |
Default input parameters if ApsaraMQ for RocketMQ is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
MNS | Partial event | $.data.messageBody |
ApsaraMQ for RabbitMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
DTS | Partial event | $.data |
Default input parameters if ApsaraMQ for Kafka is used as the source
Event destination | Event pattern | Value |
MNS | Partial event | $.data.messageBody |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for RabbitMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
DTS | Partial event | $.data |
Default input parameters if ApsaraMQ for RabbitMQ is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
MNS | Partial event | $.data.messageBody |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
DTS | Partial event | $.data |
Default input parameter if Function Compute is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data |
MNS | Partial event | $.data |
ApsaraMQ for RocketMQ | Partial event | $.data |
ApsaraMQ for MQTT | Partial event | $.data |
ApsaraMQ for RabbitMQ | Partial event | $.data |
DTS | Partial event | $.data |
Default input parameters if Simple Log Service is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
MNS | Partial event | $.data.messageBody |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
ApsaraMQ for RabbitMQ | Partial event | $.data.body |
DTS | Partial event | $.data |
Default input parameters if DataHub is used as the source
Event destination | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
MNS | Partial event | $.data.messageBody |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
ApsaraMQ for RabbitMQ | Partial event | $.data.body |
DTS | Partial event | $.data |