Details
-
Feature Request
-
Resolution: Not a Bug
-
Major
-
None
-
1.7.0.CR1
-
None
-
False
-
False
-
0
-
0%
Description
A common cause of errors are exceptions in the DDL parser. Like e.g. here...
- https://issues.redhat.com/browse/DBZ-3977
- https://issues.redhat.com/browse/DBZ-3896
- https://issues.redhat.com/browse/DBZ-3898
- https://issues.redhat.com/browse/DBZ-4017
...and in other tickets.
Problem:
Any of the errors will cause the connector to break completely and Debezium cannot be used in a meaningful/productive way.
Idea:
If it was possible to only log errors but not have the adapter completely halt, Debezium could be used with a better feeling and at the same time it would take away the criticality of the errors and give the development team more time to solve the bugs.
Possible solutions:
1) A flag/configuration parameter on the adapter that could be used to suppress the full abort. e.g. "parser.ddl.bypass_parser_exception". (Default: false). If true, then write DDL error to log, ignore statement in processing and don't stop adapter.
2) A callback function where users can dynamically reload parser extensions to hotfix statement errors.