Merge Parallel Steps
This handler (com.rierino.handler.MergeEventHandler) provides ability to merge parallel saga steps in distributed flow executions.
Handler Parameters
Parameter
Definition
Example
Default
Actions
Merge
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"definition": "Name of state manager for coordinating merge state",
"example": "search_merge",
"default": null
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"mergePath": {
"type": "string",
"definition": "Json path of the payload that should be merged with other merge branches",
"example": "results",
"default": null
},
"requiredMergeIds": {
"type": "string",
"definition": "Comma separated list of merge ids that are required to complete the merge",
"example": "1,2,3",
"default": null
},
"mergeIdPath": {
"type": "string",
"definition": "Json path which defines id for merge branch",
"example": "id",
"default": "mergeId"
},
"taskIdPath": {
"type": "string",
"definition": "Json path which defines id for merge instance",
"example": "mainId",
"default": "taskId"
}
}
}
}
}
}
}Merge Record
Last updated
