Connectum API Reference / @connectum/events-redis / types / RedisBrokerOptions
Interface: RedisBrokerOptions ​
Defined in: types.ts:38
Redis Streams broker tuning options.
Properties ​
blockMs? ​
readonlyoptionalblockMs?:number
Defined in: types.ts:56
Block timeout in milliseconds for XREADGROUP.
How long the consumer blocks waiting for new messages before retrying the loop.
Default ​
ts
5000count? ​
readonlyoptionalcount?:number
Defined in: types.ts:63
Number of messages to read per XREADGROUP call.
Default ​
ts
10maxLen? ​
readonlyoptionalmaxLen?:number
Defined in: types.ts:46
Maximum stream length (MAXLEN approximate for XADD).
When set, older entries are trimmed on publish.
Default ​
ts
undefined (no limit)