Module redis

Source
Expand description

Provides a Redis backed CacheDatabase and MessageBusDatabase implementation.

Modules§

cache
msgbus
queries

Functions§

create_redis_connection
Creates a new Redis connection manager based on the provided database config and connection name.
flush_redis
Flushes the entire Redis database for the specified connection.
get_redis_url
Parses a Redis connection URL from the given database config, returning the full URL and a redacted version with the password obfuscated.
get_redis_version
Retrieves and parses the Redis server version via the INFO command.
get_stream_key
Parse the stream key from the given identifiers and config.