Interface
RedisClusterCoordinatorOptions
Properties
| Name | Type | Description |
|---|---|---|
| hostId? | string | Unique host id. Defaults to a random UUID. |
| initialTotalShards? | number | Total shards when bootstrapping a new plan. @default 1 |
| leaseTtlMs? | number | Lease TTL ms. @default 15_000 |
| prefix? | string | Key prefix. @default 'fluxer:shard' |
| redis | RedisClientType | Connected node-redis client (commands). |
| shardsPerHost? | number | How many shards this host wants when claiming. @default all remaining |
| subscriber | RedisClientType | Separate connected client for pub/sub (node-redis requirement). |