Skip to main content

STREAM\_OWNER\_METADATA\_KEY

@horizon-republic/nestjs-jetstream


@horizon-republic/nestjs-jetstream / STREAM_OWNER_METADATA_KEY

STREAM_OWNER_METADATA_KEY

const STREAM_OWNER_METADATA_KEY: "nestjs-jetstream-owner" = 'nestjs-jetstream-owner'

Defined in: src/jetstream.constants.ts:31

Stream metadata key recording which service and connection provisioned a stream.

Value format is {service}:{connection}. Two connections of one service that resolve the same stream name are pointing at the same cluster, which would silently overwrite each other's configuration.