Skip to content

Commit

Permalink
feat: add redis sentinel support
Browse files Browse the repository at this point in the history
Signed-off-by: snowron <snowronark@gmail.com>
  • Loading branch information
snowron authored and achals committed Nov 14, 2023
1 parent 4337c89 commit 3387a15
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/reference/online-stores/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ online_store:
```
{% endcode %}
Connecting to a Redis Sentinel with SSL enabled and password authentication:
{% code title="feature_store.yaml" %}
```yaml
project: my_feature_repo
registry: data/registry.db
provider: local
online_store:
type: redis
redis_type: redis_sentinel
sentinel_master: mymaster
connection_string: "redis1:26379,ssl=true,password=my_password"
```
{% endcode %}
Additionally, the redis online store also supports automatically deleting data via a TTL mechanism.
The TTL is applied at the entity level, so feature values from any associated feature views for an entity are removed together.
This TTL can be set in the `feature_store.yaml`, using the `key_ttl_seconds` field in the online store. For example:
Expand Down

0 comments on commit 3387a15

Please sign in to comment.