Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-4018

More flexible parser exception handling

    XMLWordPrintable

Details

    Description

      A common cause of errors are exceptions in the DDL parser. Like e.g. here...

      ...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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            codebude Raffael Herrmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: