Merge Join
This component joins all received objects and merges them. If there are any overlapping keys, the last object that came in will be leading.
Configuration
Count
Specifies the number of objects that it should receive for a specific key.
Example: 2
Timeout in ms
Specifies an optional timeout in which all the objects for a specific key should be received. 0 means disabled.
Example: 0
Join key
They key it should use for joining the incoming messages.
Example: _id
Inputs
-
Name: Input
-
Description: Any data in object form.
-
Example 1:
{
"_id":"12345",
"name" : {
"systemName": "My system name"
}
} -
Example 2:
{
"_id":"12345",
"name" : {
"displayName": "My display name"
},
"description": "My Description"
}
-
Force Merge Button
- Description: Ignores the count or timeout and merges pending objects.
Outputs
-
Name: Output
-
Description: The merged object.
-
Example:
Consider that example input 1 came in first and example input 2 came in second.
{
"_id":"12345",
"name" : {
"displayName": "My display name"
},
"description": "My Description"
}
-