Skip to content

Delivery

Defined in: src/schema.ts:175

One message × one endpoint. Created at publish time (fan-out) and driven to a terminal state by the dispatcher.

Property Type Description Defined in
applicationKey string The application this delivery belongs to (deliveries cross the dispatcher denormalized). src/schema.ts:179
attemptCount number Number of attempts made so far. src/schema.ts:184
createdAt string ISO-8601 creation timestamp. src/schema.ts:196
endpointId string - src/schema.ts:181
id string "dlv_" + 22-char base62, server-generated. src/schema.ts:177
leaseUntil? string | null Dispatcher claim expiry; an expired lease makes the delivery reclaimable. src/schema.ts:188
messageId string - src/schema.ts:180
nextAttemptAt? string | null When the next attempt is due. null once terminal. src/schema.ts:186
pendingTrigger? AttemptTrigger How the next attempt should be recorded: set to "manual" by retry/recover so the resulting attempt is attributed correctly, then cleared. Absent = "schedule". src/schema.ts:194
status DeliveryStatus - src/schema.ts:182
updatedAt string ISO-8601 last-transition timestamp. src/schema.ts:198