Skip to main content

JetstreamHealthCheckOptions

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / JetstreamHealthCheckOptions

JetstreamHealthCheckOptions

Defined in: src/interfaces/health.interface.ts:61

Options for JetstreamHealthIndicator.isHealthy().

Properties​

requireConsumers?​

optional requireConsumers?: boolean

Defined in: src/interfaces/health.interface.ts:67

Also report down while a critical connection is not consuming: its boot has not finished, or a consumer has not been live for 30 seconds. Off by default. Use it on readiness only, never on liveness.