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

MongoDB connector throws NPE on "op=n"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 0.10.0.CR1
    • 0.9.4.Final
    • mongodb-connector
    • None

    Description

      The connector only checks for operations of type insert, update, and delete (i, u, d) but if an operation that is not of that type is passed, it will result in a NPE i.e op="n" (no op). The connector should handle such cases gracefully.

      https://github.com/confluentinc/debezium/blob/master/debezium-connector-mongodb/src/main/java/io/debezium/connector/mongodb/RecordMakers.java#L182

      Attachments

        Activity

          People

            Unassigned Unassigned
            levzemlyanov Lev Zemlyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: