Skip to content

Documentation / @tenancy-node/transport-redis-streams / RedisStreamsOptions

Interface: RedisStreamsOptions ​

Defined in: index.ts:9

Properties ​

client? ​

optional client?: Redis

Defined in: index.ts:12


maxLen? ​

optional maxLen?: number

Defined in: index.ts:17

Largo aproximado máximo del stream (MAXLEN ~). Por defecto 100 000.


name? ​

optional name?: string

Defined in: index.ts:18


redisOptions? ​

optional redisOptions?: RedisOptions

Defined in: index.ts:13


stream? ​

optional stream?: string

Defined in: index.ts:15

Stream de destino. Por defecto tenancy:events (o routingKey de forward).


url? ​

optional url?: string

Defined in: index.ts:11

Por defecto redis://127.0.0.1:6379. Acepta process.env.REDIS_URL aunque no esté definida.

Publicado bajo la licencia MIT.