How to filter out events for publish on SQS?

Question

How can a customer have a few specific events published for their tenant?

Events that should be published include ENTITY_CREATED, ENTITY_CHANGED, and ENTITIES_SPLITTED

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

Customers are advised to create a support task ticket with the required list of events to filter in the external SQS queue configuration.

References

https://docs.reltio.com/events/eventsapi.html

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.