Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-274

Debezium handle / no op DDL events

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.11.0
    • Affects Version/s: None
    • Component/s: CDC
    • Labels:

      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.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: