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

Handle Mongo collection fields not being present

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • 2.4-backlog
    • 1.8.1.Final
    • mongodb-connector
    • None
    • False
    • None
    • False
    • 0
    • 0% 0%

    Description

      When the connector is configured to add additional fields as headers using theĀ 

      transforms.outbox.collection.fields.additional.placement it would be nice if there was an additional configuration option for configuring how to handle missing fields.

      For collections Mongo does not save an entry for a field if it is null and so if the field is included in the transforms.outbox.collection.fields.additional.placement an error is thrown.

      It would be nice if you could define this behaviour and just have it write null values in the the additional field instead.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pwragg23 Paul Wragg (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: