-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: CDC
-
(copied to CRM)
-
None
-
None
-
None
-
None
-
None
-
None
-
None
DDL events aren't currently supported. So events like:
{
"schema": {
...
},
"payload": {
"source": { //<1>
"version": "1.8.0.Final",
"connector": "mysql",
...
},
"databaseName": "inventory", //<2>
"schemaName": null,
"ddl": "ALTER TABLE customers ADD COLUMN middle_name VARCHAR(2000)", //<3>
"tableChanges": ...
}
}
currently error. As MongoDB has flexible schema, shouldn't be an issue but currently any payloads missing an op field throws an error.
A no op event could be issued for DDL events, which would save users having to filter them out.