Events when an asset is created¶
When an asset is created in Atlan, the following events can be emitted.
Atlan always emits an
ENTITY_CREATE event when an asset is created. The details in the event are for the asset that was created.
When a relationship is defined as part of asset creation, Atlan will also emit an
ENTITY_UPDATE event. The details in this event cover the related asset.
For example, a column in Atlan must exist within a table.
- When a column is created, the table must be specified.
ENTITY_UPDATEevent will be emitted for the table in which that column was created.
Details of the relationship are not included in
In the case of a parent-child relationship, the details of the relationship are not included in the
ENTITY_UPDATE event's payload.
For example, specifying a term to link to a column when creating the column.
ENTITY_UPDATEevent will be emitted for the term that is specified.
Note: this means a single asset creation (single
ENTITY_CREATE event) could emit any number of