How does DTSS process relationship events?
DTSS supports events coming in any order. Consider an example when a user creates two entities and a relationship between them. The actual order of the events is:ENTITY_CREATED -> ENTITY_CREATED -> RELATIONSHIP_CREATED
When Event Streaming API - Amazon SQS-based implementation is used, DTSS may receive the events in the following order:RELATIONSHIP_CREATED -> ENTITY_CREATED -> ENTITY_CREATEDTo handle this correctly, DTSS will:
- Trigger additional processing for both start and end objects explicitly by simulating an ENTITY_CREATED event for each of the objects.
- Process the RELATIONSHIP_CREATED event.
DTSS will also handle RELATIONSHIP_CHANGED events in a similar way.