Created
April 26, 2021 06:17
-
-
Save SasonBraha/510e2f1a3c0d1793bd41deb4d808fd08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "MongoSourceChangeEvent", | |
"namespace": "com.company.common.avro", | |
"type": "record", | |
"fields": [ | |
{ | |
"name": "_id", | |
"type": "string" | |
}, | |
{ | |
"name": "operationType", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
}, | |
{ | |
"name": "fullDocument", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
}, | |
{ | |
"name": "ns", | |
"type": [ | |
"null", | |
{ | |
"type": "record", | |
"name": "ns", | |
"fields": [ | |
{ | |
"name": "db", | |
"type": "string" | |
}, | |
{ | |
"name": "coll", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
} | |
] | |
} | |
], | |
"default": null | |
}, | |
{ | |
"name": "to", | |
"type": [ | |
"null", | |
{ | |
"type": "record", | |
"name": "to", | |
"fields": [ | |
{ | |
"name": "db", | |
"type": "string" | |
}, | |
{ | |
"name": "coll", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
} | |
] | |
} | |
], | |
"default": null | |
}, | |
{ | |
"name": "documentKey", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
}, | |
{ | |
"name": "updateDescription", | |
"type": [ | |
"null", | |
{ | |
"type": "record", | |
"name": "updateDescription", | |
"fields": [ | |
{ | |
"name": "updatedFields", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
}, | |
{ | |
"name": "removedFields", | |
"type": [ | |
"null", | |
{ | |
"type": "array", | |
"items": "string" | |
} | |
], | |
"default": null | |
} | |
] | |
} | |
], | |
"default": null | |
}, | |
{ | |
"name": "clusterTime", | |
"type": [ | |
"null", | |
"string" | |
], | |
"default": null | |
}, | |
{ | |
"name": "txnNumber", | |
"type": [ | |
"null", | |
"long" | |
], | |
"default": null | |
}, | |
{ | |
"name": "lsid", | |
"type": [ | |
"null", | |
{ | |
"type": "record", | |
"name": "lsid", | |
"fields": [ | |
{ | |
"name": "id", | |
"type": "string" | |
}, | |
{ | |
"name": "uid", | |
"type": "string" | |
} | |
] | |
} | |
], | |
"default": null | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment