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

Debezium handle / no op DDL events

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.11.0
    • None
    • CDC

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: