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:
Use event streams to route messages between ApsaraMQ for RocketMQ instances
Use event streams to route messages between ApsaraMQ for Kafka instances
Use event streams to route messages between ApsaraMQ for RabbitMQ instances
Use event streams to route messages between Simple Message Queue (formerly MNS)
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 Simple Message Queue (formerly MNS) is used as the destination
Event source | 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 destination
Event source | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
Simple Message Queue (formerly 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 destination
Event source | Event pattern | Value |
Simple Message Queue (formerly 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 destination
Event source | Event pattern | Value |
ApsaraMQ for Kafka | Partial event | $.data.value |
Simple Message Queue (formerly MNS) | Partial event | $.data.messageBody |
ApsaraMQ for RocketMQ | Partial event | $.data.body |
ApsaraMQ for MQTT | Partial event | $.data.body |
DTS | Partial event | $.data |