Skip to content

PublisherOptions

Defaults applied to every publish call made by a publisher.

TService extends GenService<GenServiceMethods>

optional contextValues?: ContextValues

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


optional source?: string

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


optional topic?: TopicConfig<TService>

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.