This agent merges the fields of KeyValue records where both the key and value are structured types of the same schema type.
Given the input:
{
"key": {
"keyField": "key"
},
"value": {
"valueField": "value"
}
}
With an agent configuration of:
- name: "Merge key value"
type: "merge-key-value"
input: "input-topic" # optional
output: "output-topic" # optional
The output would be:
{
key: {
keyField: key
},
value: {
keyField: key,
valueField: value
}
}
Checkout the full configuration properties in the API Reference page.