metacore Start a pilot

Product · Built in

One event for each changed record.

A domain emits one event for each record that a run changes, in one order per domain, and keeps each for 30 days. Each subscriber follows at its own pace and resumes from its cursor.

Events

One event for each changed record, in one order per domain, kept for 30 days. Each subscriber follows at its own pace and resumes from its cursor.

Stream

Your systems follow every change.

Transactional systems read events and send changes in. The data that governs the business stays in one place.

An eventRule
DeliveryAt least once, and in order for each record.
RetentionEach event is kept for 30 days.
AccessA subscriber receives the events that its grants cover.
Restricted fieldsA change of restricted fields alone reaches only the subscribers who may read one of them.
The truthEvents are notifications. Stored data stays the source of truth.

What a subscriber can rely on

A subscriber that falls behind the events kept reads the records again.

Who followsHow
A subscriberAny system that follows the stream of a domain, from its cursor, at its own pace.
A triggerIt starts a handler of the domain: your code, as a job.
Another domainIt follows only what your domain exposes: an event, or an entity with an exposed field.
Your search engineWhere you need relevance or facets, feed a search engine of your own from the events.

What reacts to an event

A slow subscriber never slows a publish.

Event

An event names a record. It carries no value.

The stream tells which record changed, and at which level. Whoever needs its values reads the record, under their own roles and grants.

A notification, then a read

A solid line is what we run. A dashed line is what you run. Each event comes with a position: a read that sends it sees at least the state that the event tells.

An event tellsWhat
Its recordOne record at one level: its entity, its key and the scope value.
Its originThe run that published the change, or the job whose handler emitted the event.
Its positionA read that sends it sees at least the state that the event tells.
Its spanFor a dated value, the span of time where the record changed.
No valueIt carries no value and no field.

What an event tells

A name stays as the schema declares it, in the public API and in events.

Sources

Every change tells the stream. An event can start your code.

A publish, a rollback, the start of a period and an erasure each give their events. A trigger turns an event into a job of your handler.

FromThe events it gives
A publishOne for each record and level where it changed a value, in the same step.
A rollbackThose of the runs that it took back, once more, marked as taken back.
A periodOne when a dated value starts or ends, at that instant. Nothing publishes then.
An erasureOne for each record that it removed, marked as erased.
A handlerThose that it declares in the schema, stored in the step that ends its job.

What gives an event

An overlay write gives no event and starts no trigger: whoever needs the value reads it.

A triggerRule
WatchesOne event that a handler emits, or the changes of one entity.
StartsOne job for each event. The handler receives the event.
Keeps orderThe jobs of one record at one level run one at a time.
One for allOr one job for all its records, for a handler that acts on them together.
PausedIt reads no event. Resumed, it reads on where it stopped, or from the latest event.

From an event to your code

A trigger reads the events at its own pace, and tells how many it has not read.

Back office

Watch the stream as a subscriber does.

The back office follows the events of a domain as they come, for whoever debugs a subscriber or a trigger.

The events of a domain, live

Each event with its record, its level, and the run or the job that gave it. The page starts from now, or from the oldest event kept.

See also

Build your domain.

Declare its schema, and take it to production, self-hosted or in a managed region.

Briefing