DegradedPayload
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
DegradedPayload =
object
Defined in: src/deadletters/DeadLetterEntry.ts:33
A payload that could not be written to the durable store.
The tagged-JSON encoder refuses functions, symbols, Promise,
weak collections and cycles rather than degrading them silently, so a
persistent queue has to choose between losing the letter and losing the
payload. It loses the payload: that a message to this recipient died,
and when, is the part an operator acts on, and a queue that silently
skips its hardest cases is worse than one that says which ones it could
not keep. Such an entry is not replayable — there is nothing to
redeliver — and replay refuses it rather than sending a placeholder.
Properties
Section titled “Properties”className
Section titled “className”
readonlyclassName:string
Defined in: src/deadletters/DeadLetterEntry.ts:36
Constructor name of the message, or typeof for a primitive.
readonlykind:"degraded"
Defined in: src/deadletters/DeadLetterEntry.ts:34
reason
Section titled “reason”
readonlyreason:string
Defined in: src/deadletters/DeadLetterEntry.ts:38
Why the encoder refused it — the SerializationError’s message.
