This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Splitting json message based on the matching field name #2251
Labels
You can continue the conversation there. Go to discussion →
Hi,
I am new to benthos and on the process of learning it. I have got a situation where I need to split the single payload into multiple messages based on the field names and send these messaged to different kafka topics. My payload looks like this:
[
{
"dId": "kjglsjglfkgfdkgfhjfhdsj",
"d1": "fhkfjsaf",
"d2": {
"dc1": 8,
"dc2": 9
},
"timestamp": "2020-09-03",
"A": [
{
"aId": "jflksflskgskg",
"af1": "kkfls",
"af2": {
"ac1": 6,
"ac2": 2
},
"af3": 1,
]
I want to send A array data to one kafka topics and similarly for B and C.
Thanks
M
The text was updated successfully, but these errors were encountered: