Filtering Events for Publishing to Amazon SQS in Reltio

Question

How can I filter specific events for publishing to Amazon SQS in Reltio?

Answer

Reltio tenant physical configuration has a property called "typeFilter" (that property supports the collection of event type names to stream; events of different types will be ignored). The typeFilter property can be used to filter the event types as per the requirement referenced in the question. This helps downstream systems to process messages quickly.

  1. GET Physical configuration for the tenant using the following API:

    GET <URL>/reltio/tenants/<tenant_id>
  2. Copy the configuration and POST it with the update below: 

    POST <URL>/reltio/tenants?<tenant_id>

    Body

    {
      "type": "queue",
      "provider": "aws:sqs://AK:SK@region",
      "name": "queue_name",
      "dtssQueue": false,
      "enabled": true,
      "typeFilter": [
        "ENTITY_CREATED",
        "ENTITY_CHANGED",
        "ENTITIES_SPLITTED",
        ...
        ...
      ]
    }

 

Currently, the following types of CRUD events are supported:

  • ENTITY_CREATED
  • ENTITY_REMOVED
  • ENTITY_REMOVED_GDPR
  • ENTITY_LOST_MERGE
  • ENTITY_CHANGED
  • RELATIONSHIP_CREATED
  • RELATIONSHIP_REMOVED
  • RELATIONSHIP_REMOVED_GDPR
  • RELATIONSHIP_CHANGED
  • GROUP_CREATED
  • GROUP_REMOVED
  • GROUP_CHANGED
  • INTERACTION_CREATED
  • INTERACTION_REMOVED
  • INTERACTION_CHANGED
  • ENTITIES_SPLITTED
  • ENTITIES_MATCHES_CHANGED
  • RELATION_LOST_MERGE
  • RELATIONSHIP_MERGED
  • ENTITY_BUSINESS_PROCESS_CHANGED

Best Practices:

  • Include Only Necessary Events: Specify only the event types you need to stream to reduce unnecessary data transmission.
  • Monitor Queue Performance: Regularly check the external queue for performance metrics and adjust configurations as needed.
  • Understand Event Ordering: Be aware that events are not streamed in FIFO order; multiple nodes process multiple requests in parallel.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.