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 = falsecluster: Whether it's a cluster or not.address: Connection address. When the destination is a cluster,addresscan be any node in the cluster.- Authentication:
- When using the ACL account system, configure both
usernameandpassword - When using the traditional account system, only configure
password - When no authentication is required, leave both
usernameandpasswordempty
- 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_lento 0 to avoid using therestorecommand for data recovery.