Skip to content

log/gap

Experimental

Raw backlog collapsed for one subscription; fill (after, next) via log/page (protected).

Type: LogGapParams

log/gap notification params: the raw-altitude shape of the shared gap contract, per subscription. The client MUST fill (after, next) with log/page before treating its fold as current, except for an overFrame gap (see [LogGapReason]).

Field Type Stability Presence Description
after RecordPosition Experimental required The last position the subscription delivered or named.
next RecordPosition Experimental required replayAnchorLost: the first position it will deliver. overFrame: the skipped record itself when its position is readable, else the next record it delivers (ADR 58371 D8).
reason LogGapReason Experimental optional Why the gap opened; absent from hosts that predate it.
stream StreamRef Experimental required The gapped stream.
subscriptionId integer Experimental required The gapped subscription.
Source

schema/msp/experimental/msp.schema.json#/notifications/log~2Fgap

{
"description": "Raw backlog collapsed for one subscription; fill (after, next) via log/page (protected).",
"params": {
"$ref": "#/$defs/LogGapParams"
},
"x-msp-descriptor": "log/gap",
"x-msp-stability": "experimental"
}