Skip to content

PublisherOptions

Defined in: packages/pubsub/src/types.ts:56

Defaults applied to every publish call made by a publisher.

TService extends GenService<GenServiceMethods>

optional contextValues?: ContextValues

Defined in: packages/pubsub/src/types.ts:60

Context values passed through the interceptor chain and to nested operations.


optional source?: string

Defined in: packages/pubsub/src/types.ts:58

Default CloudEvent source when a publish call does not provide one.


optional topic?: TopicConfig<TService>

Defined in: packages/pubsub/src/types.ts:67

Broker delivery topic configuration.

This does not change CloudEvent type. Handlers are selected by CloudEvent type; topics only decide where the broker delivers the event.