featurebyte.RedisOnlineStoreDetails¶
class RedisOnlineStoreDetails(
*,
type: Literal["redis"]="redis",
credential: Optional[UsernamePasswordCredential]=None,
redis_type: RedisType="redis",
connection_string: StrictStr="localhost:6379",
key_ttl_seconds: Optional[int]=None
)Description¶
Configuration details for Redis online store.
Parameters¶
- type: Literal["redis"]
default: "redis" - credential: Optional[UsernamePasswordCredential]
Redis user and password. - redis_type: RedisType
default: "redis"
Redis type: redis or redis_cluster. - connection_string: StrictStr
default: "localhost:6379"
Connection string with format 'host:port,parameter1,parameter2' eg. redis:6379,db=0 - key_ttl_seconds: Optional[int]
Redis key bin ttl (in seconds) for expiring entities.