Reltio Connect

 View Only

Delta Detection - Streaming Merge/Unmerge Events

  • 1.  Delta Detection - Streaming Merge/Unmerge Events

    Reltio Employee
    Posted 09-30-2022 12:07
    Hi Team,

    When streaming merge/unmerge events while using Delta detection (payloadType: "DELTAS"), we notice that the "uris" section of the payload is present after performing a merge and is missing after performing an unmerge.

    Merge Payload

    {
      "type": "ENTITIES_MERGED",
      "uris": [
        "entities/1QYm2Vjf",
        "entities/1eqAMJt3"
      ]
    }

    Unmerge Payload

    {
      "type": "ENTITIES_SPLITTED",
      "uri": "entities/1mdg5CU4",
      "deltas": {
        "ovChanged": true,
        "delta": [
          {
            "type": "ATTRIBUTE_REMOVED",
            "attributeType": "configuration/entityTypes/HCP/attributes/FirstName",
            "oldValue": {
              "value": "Jerry",
              "ov": true,
              "id": "5HfwovlfQ",
              "sources": [
                "Reltio"
              ]
            }
          }
        ]
      }
    }

     It would be ideal for the "uris" section to display in the unmerge payload as well so there won't be a need to call an additional API to retrieve the other uri. Why is there a difference? 

    Best,
    Sam