Skip to content

Connectum API Reference / @connectum/events / types / RawSubscribeOptions

Interface: RawSubscribeOptions ​

Defined in: packages/events/src/types.ts:51

Options for raw subscribe

Properties ​

group? ​

optional group?: string

Defined in: packages/events/src/types.ts:61

Consumer group name for load-balanced consumption.

Without it the adapter picks a new random group for every subscription. With Kafka and Redis Streams that group has no committed position, so a restarted process starts at the end of the stream and never sees the events published while it was down; give the subscription an explicit group to keep its position across restarts.