faust.web.cache.backends.redis¶
Redis cache backend.
-
class
faust.web.cache.backends.redis.RedisScheme[source]¶ Types of Redis configurations.
-
SINGLE_NODE= 'redis'¶
-
CLUSTER= 'rediscluster'¶
-
-
class
faust.web.cache.backends.redis.CacheBackend(app: faust.types.app.AppT, url: Union[yarl.URL, str], *, connect_timeout: float = None, stream_timeout: float = None, max_connections: int = None, max_connections_per_node: int = None, **kwargs: Any) → None[source]¶ Backend for cache operations using Redis.