Fail to write to DB 'The $v update field is only recognized internally

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.2
    • Affects Version/s: 0.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The CDC handler cannot cope with the $v field that may be present in data

      Example payload:

       "payload": {
          "after": null,
          "patch": "{\"$v\" : 1,\"$set\" : {\"last_name\" : \"MyNewName\"}}",
          "source": {
            "version": "0.9.5.Final",
            "connector": "mongodb",
            "name": "dbserver5",
            "rs": "rs0",
            "ns": "inventory.customers",
            "sec": 1562769763,
            "ord": 1,
            "h": 4519476723350356000,
            "initsync": false
          },
          "op": "u",
          "ts_ms": 1562769763351
        }
      }
      

      Ref: https://github.com/hpgrahsl/kafka-connect-mongodb/issues/91

            Assignee:
            Ross Lawley
            Reporter:
            Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: