Update aspect.md

This commit is contained in:
Mars Lan 2020-08-06 05:12:30 -07:00 committed by GitHub
parent 687dc3ae9a
commit 8e32f41828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ A metadata aspect is a structured document, or more precisely a `record` in [PDL
A metadata aspect on its own has no meaning (e.g. ownership for what?) and must be associated with a particular entity (e.g. ownership for PageViewEvent).
We purposely not to impose any model requirement on metadata aspects, as each aspect is expected to differ significantly.
Metadata aspects are immutable by design, i.e. every change to a particular aspect results in a new version created.
Metadata aspects are immutable by design, i.e. every change to a particular aspect results in a [new version](../advanced/aspect-versioning.md) created.
An optional retention policy can be applied such that X number of most recent versions will be retained after each update.
Setting X to 1 effectively means the metadata aspect is non-versioned.
It is also possible to apply the retention based on time, e.g. only keeps the metadata changes from the past 30 days.