Skip to content

EVENT_STREAM_NAME_MAX_LENGTH

const EVENT_STREAM_NAME_MAX_LENGTH: number

Defined in: packages/contracts/src/event-stream.ts:107

The maximum length of an Event-stream name: 30. pgmq’s queue-name limit is 47 characters and EVENT_STREAM_QUEUE_PREFIX consumes 17 of them, so a longer name could not be provisioned. The bound is enforced at defineSyncRegistry (module eval) rather than at deployment DDL, because a name that fails only when the queue is created fails far too late.