Open
Description
Ok, so I love the connector - it makes getting data from Mongo to Kafka easy, however when the data gets pulled from mongo, it loses its own JSON structure. Is there a way to prevent this from happening?
Example:
My JSON looks like this in Mongo:
{
"_id": "56feaa424f1249736af0ba4f",
"ts":"Thu Mar 31 09:00:00 PDT 2016",
"type":"hrlyEvtLvls",
"events": [{
"TechDump":4,
"Reboot":174,
"FatalError":0
}]
}
However when I retrieve it from Kafka this is what it looks like in the payload object:
Document{{_id=56feaa424f1249736af0ba4f, ts=Thu Mar 31 09:00:00 PDT 2016, type=hrlyEvtLvls, events=Document{{TechDump=4, Reboot=174, FatalError=0}}}}
I don't have an easy way to reprocess the received data back into JSON, so is there some way I can prevent my JSON from being lost in the first place?
Metadata
Metadata
Assignees
Labels
No labels