JetstreamFeatureOptions
@horizon-republic/nestjs-jetstream
@horizon-republic/nestjs-jetstream / JetstreamFeatureOptions
JetstreamFeatureOptions
Defined in: src/interfaces/options.interface.ts:512
Options for JetstreamModule.forFeature().
Properties
codec?
optionalcodec?:Codec
Defined in: src/interfaces/options.interface.ts:528
Override the global codec for this client.
Falls back to the root codec from forRoot() when omitted.
connection?
optionalconnection?:string
Defined in: src/interfaces/options.interface.ts:522
Connection this client publishes on.
Defaults to the module's default connection. Inject the resulting client
with getClientToken(name, connection).
name
name:
string
Defined in: src/interfaces/options.interface.ts:514
Target service name for subject construction.
subjectPrefix?
optionalsubjectPrefix?:TargetSubjectPrefixes
Defined in: src/interfaces/options.interface.ts:536
Subject prefixes the target service consumes on, when it sets custom ones.
Not allowed when the target is this service itself: its prefixes already
come from forRoot().