Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-44

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.2
    • 0.1
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: