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

MongoDB connector throws NPE on "op=n"

XMLWordPrintable

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

      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

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

                Created:
                Updated:
                Resolved: