Skip to main content

JetstreamPublishContext

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / JetstreamPublishContext

JetstreamPublishContext

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

Context passed to OtelOptions.publishHook for an outgoing publish.

Properties​

kind​

readonly kind: PublishKind

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

Classification of the outgoing operation.


record​

readonly record: JetstreamRecord

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

The record being published (payload, headers, builder-supplied options).


subject​

readonly subject: string

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

Fully-resolved subject the message is being published to.