Interface

RedisClusterCoordinatorOptions

Properties

NameTypeDescription
hostId?stringUnique host id. Defaults to a random UUID.
initialTotalShards?numberTotal shards when bootstrapping a new plan. @default 1
leaseTtlMs?numberLease TTL ms. @default 15_000
prefix?stringKey prefix. @default 'fluxer:shard'
redisRedisClientTypeConnected node-redis client (commands).
shardsPerHost?numberHow many shards this host wants when claiming. @default all remaining
subscriberRedisClientTypeSeparate connected client for pub/sub (node-redis requirement).