Redis Writer
Introduction
redis_writer
is used to write data to Redis-like databases.
Configuration
toml
[redis_writer]
cluster = false
address = "127.0.0.1:6379" # when cluster is true, address is one of the cluster node
username = "" # keep empty if not using ACL
password = "" # keep empty if no authentication is required
tls = false
cluster
: Whether it's a cluster or not.address
: Connection address. When the destination is a cluster,address
can be any node in the cluster.- Authentication:
- When using the ACL account system, configure both
username
andpassword
- When using the traditional account system, only configure
password
- When no authentication is required, leave both
username
andpassword
empty
- When using the ACL account system, configure both
tls
: Whether to enable TLS/SSL. No need to configure certificates as RedisShake doesn't verify server certificates.
Important notes:
- When the destination is a cluster, ensure that the commands from the source satisfy the requirement that keys' hash values belong to the same slot.
- It's recommended to ensure that the destination version is greater than or equal to the source version, otherwise unsupported commands may occur. If a lower version is necessary, you can set
target_redis_proto_max_bulk_len
to 0 to avoid using therestore
command for data recovery.