Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.01 KB

redis.md

File metadata and controls

39 lines (30 loc) · 1.01 KB

Redis

Description

The Redis online store provides support for materializing feature values into Redis.

  • Both Redis and Redis Cluster are supported
  • The data model used to store feature values in Redis is described in more detail here.

Examples

Connecting to a single Redis instance

{% code title="feature_store.yaml" %}

project: my_feature_repo
registry: data/registry.db
provider: local
online_store:
  type: redis
  connection_string: "localhost:6379"

{% endcode %}

Connecting to a Redis Cluster with SSL enabled and password authentication

{% code title="feature_store.yaml" %}

project: my_feature_repo
registry: data/registry.db
provider: local
online_store:
  type: redis
  redis_type: redis_cluster
  connection_string: "redis1:6379,redis2:6379,ssl=true,password=my_password"

{% endcode %}

Configuration options are available here.