Skip to content

CreateRouterOptions

TService extends GenService<GenServiceMethods> = GenService<GenServiceMethods>

optional contextValues?: ContextValues

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


optional deadLetterTopic?: string

Topic for rejected or dead-lettered CloudEvents. Defaults to <service.typeName>.__deadletter.


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.