diff --git a/dao-api/src/main/pegasus/com/linkedin/metadata/events/BaseIngestionMode.pdl b/dao-api/src/main/pegasus/com/linkedin/metadata/events/BaseIngestionMode.pdl new file mode 100644 index 000000000..1056a73a2 --- /dev/null +++ b/dao-api/src/main/pegasus/com/linkedin/metadata/events/BaseIngestionMode.pdl @@ -0,0 +1,24 @@ +namespace com.linkedin.metadata.events + +/** +* A base record containing ingestion mode of aspects +* Usage: Aspects can include this record to specify ingestion mode +*/ +record BaseIngestionMode { + + /** + * Mode used when writing aspect metadata into backend + */ + writeMode: optional enum WriteMode { + /** + * Default write mode. Same behavior as not setting writeMode + */ + DEFAULT + + /** + * Override checks that may skip metadata write (eg equality check) + */ + OVERRIDE + } + +} \ No newline at end of file