Skip to main content

ConsumeSourceMsg

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / ConsumeSourceMsg

ConsumeSourceMsg

Defined in: src/otel/config.ts:51

Minimum message shape the consume span helper requires. Both JsMsg (JetStream) and Core NATS Msg satisfy it structurally; JetStream-only delivery metadata (info) is read separately and omitted on the Core RPC path.

Properties​

data​

readonly data: Uint8Array

Defined in: src/otel/config.ts:53


headers?​

readonly optional headers?: MsgHdrs

Defined in: src/otel/config.ts:54


subject​

readonly subject: string

Defined in: src/otel/config.ts:52