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

MongoDB's ExtractNewDocumentState not compatible with Change Streams when Full document mode is not enabled.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.2-backlog
    • 2.0.1.Final, 2.1.2.Final, 2.2.0.Alpha1
    • mongodb-connector
    • None
    • False
    • None
    • False

      If the user configures the capture.mode with any option that doesn't include the full document, the ExtractNewDocumentSMT will not be able to emit any after state from the document. Previously, in this case, it would have consumed the patch field, but this field is no longer relevant with change streams. The SMT needs to be updated that if the after field is empty, we should consult the value and extract the data from updateDescription.updatedFields to mirror the old patch functionality.

            Unassigned Unassigned
            ccranfor@redhat.com Chris Cranford
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: