Skip to content
SarvexDocs
Esc
↑↓navigate↵open⌘Jpreview

Serving snapshot swapped

RECEIVEserving.snapshot.swapped
Message
snapshot_versionstringrequired
built_atstring<date-time>required
source_watermarkstring<date-time>
Headers
message_idstringrequired

Unique per message; consumers de-duplicate on this.

ordering_keystringrequired

The store_id. Guarantees per-store ordering; the catalog/serving tenant boundary (a store belongs to one merchant — see architecture §2a).

occurred_atstring<date-time>required
sequenceinteger<int64>

Monotonic per-connector sequence carried from the origin signal (ingest events only).

trace_idstring

Correlates a chain of events from one originating cause.

schema_versionstringrequired
Try it
Server
Payload

Live sending isn't possible for pubsub from a browser tab — copy the sample above and run it against your broker.

Message
{
  "snapshot_version": "string",
  "built_at": "2019-08-24T14:15:22Z",
  "source_watermark": "2019-08-24T14:15:22Z"
}