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.
-
GET Physical configuration for the tenant using the following API:
GET <URL>/reltio/tenants/<tenant_id> -
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_CREATEDENTITY_REMOVEDENTITY_REMOVED_GDPRENTITY_LOST_MERGEENTITY_CHANGEDRELATIONSHIP_CREATEDRELATIONSHIP_REMOVEDRELATIONSHIP_REMOVED_GDPRRELATIONSHIP_CHANGEDGROUP_CREATEDGROUP_REMOVEDGROUP_CHANGEDINTERACTION_CREATEDINTERACTION_REMOVEDINTERACTION_CHANGEDENTITIES_SPLITTEDENTITIES_MATCHES_CHANGEDRELATION_LOST_MERGERELATIONSHIP_MERGEDENTITY_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.
Comments
Please sign in to leave a comment.