Skip to content

Commit 3387a15

Browse files
snowronachals
authored andcommitted
feat: add redis sentinel support
Signed-off-by: snowron <snowronark@gmail.com>
1 parent 4337c89 commit 3387a15

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/reference/online-stores/redis.md

+15
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ online_store:
4545
```
4646
{% endcode %}
4747
48+
Connecting to a Redis Sentinel with SSL enabled and password authentication:
49+
50+
{% code title="feature_store.yaml" %}
51+
```yaml
52+
project: my_feature_repo
53+
registry: data/registry.db
54+
provider: local
55+
online_store:
56+
type: redis
57+
redis_type: redis_sentinel
58+
sentinel_master: mymaster
59+
connection_string: "redis1:26379,ssl=true,password=my_password"
60+
```
61+
{% endcode %}
62+
4863
Additionally, the redis online store also supports automatically deleting data via a TTL mechanism.
4964
The TTL is applied at the entity level, so feature values from any associated feature views for an entity are removed together.
5065
This TTL can be set in the `feature_store.yaml`, using the `key_ttl_seconds` field in the online store. For example:

0 commit comments

Comments
 (0)