Details
-
Improvement
-
Resolution: Gone away
-
Major - P3
-
None
-
1.6.1
Description
As the title mentioned, I want to get operationType in full-document mode. Although I can get the field if i set publish.full.document.only=false, the json message will become more complicated, which the fullDocument field was put in the inner json of a field named payload.
i am only interested in operationType *and *fullDocument, and i want to get a json without payload filed like below.
{
|
"fullDocument":"data...",
|
"operationType":"insert or update"
|
}
|
Is there any simple way to get that json through config ?
It is better if you could give me a sample of whole config for that. Thanks