Spectre.GAM.Domain.Event.Metadata (Spectre v0.4.0)

Copy Markdown View Source

Trusted ledger position attached to a decoded Domain event.

Record-specific metadata maps used to be repeated by projections and the auditor. A single value indexed by the content-addressed record reference keeps replay ordering, batch adjacency and acquisition time in one shape.

Summary

Types

t()

@type t() :: %Spectre.GAM.Domain.Event.Metadata{
  batch_id: String.t(),
  recorded_at: non_neg_integer(),
  revision: pos_integer()
}