Configures a feature store backed by a Redis instance.
For more details about how and why you can use a persistent feature store, see the Using Redis as a persistent feature store.
const redisStoreFactory = RedisFeatureStoreFactory( { redisOpts: { host: 'redishost', port: 6379 }, prefix: 'app1', cacheTTL: 30 }); Copy
const redisStoreFactory = RedisFeatureStoreFactory( { redisOpts: { host: 'redishost', port: 6379 }, prefix: 'app1', cacheTTL: 30 });
Optional
Optional configuration, please refer to LDRedisOptions.
A factory function suitable for use in the SDK configuration (LDOptions).
Generated using TypeDoc
Configures a feature store backed by a Redis instance.
For more details about how and why you can use a persistent feature store, see the Using Redis as a persistent feature store.