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
Input
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
Ignores the count or timeout and merges pending objects.
Outputs
Output
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"
}