DeadLetterRecord
@horizon-republic/nestjs-jetstream
@horizon-republic/nestjs-jetstream / DeadLetterRecord
DeadLetterRecord
Defined in: src/dlq/dlq.types.ts:32
One message in the dead-letter stream.
Properties
data
readonlydata:Uint8Array
Defined in: src/dlq/dlq.types.ts:51
Raw payload.
deliveryCount
readonlydeliveryCount:number
Defined in: src/dlq/dlq.types.ts:46
Deliveries of the final attempt.
failedAt
readonlyfailedAt:Date|undefined
Defined in: src/dlq/dlq.types.ts:44
headers
readonlyheaders:DeadLetterHeaders
Defined in: src/dlq/dlq.types.ts:49
origin
readonlyorigin:DeadLetterOrigin
Defined in: src/dlq/dlq.types.ts:39
pattern
readonlypattern:string|undefined
Defined in: src/dlq/dlq.types.ts:41
Handler pattern the subject maps to under this service's naming, if it maps to one.
payload
readonlypayload:unknown
Defined in: src/dlq/dlq.types.ts:53
Payload decoded with the connection's codec; undefined when it does not decode.
reason
readonlyreason:string
Defined in: src/dlq/dlq.types.ts:43
Last error of the handler.
redriveCount
readonlyredriveCount:number
Defined in: src/dlq/dlq.types.ts:48
How many times the message has been redriven already.
seq
readonlyseq:number
Defined in: src/dlq/dlq.types.ts:34
Sequence in the dead-letter stream; stable while the record stays there.
stream
readonlystream:string
Defined in: src/dlq/dlq.types.ts:38
Stream the message was consumed from.
subject
readonlysubject:string
Defined in: src/dlq/dlq.types.ts:36
Subject the message was published to.