|
|
|
@ -27,16 +27,16 @@ parallel = 32 |
|
|
|
|
# used in `dump`, `sync` and `rump`. |
|
|
|
|
# source redis type, e.g. "standalone" (default), "sentinel" or "cluster". |
|
|
|
|
# 1. "standalone": standalone db mode. |
|
|
|
|
# 2. "sentinel": the redis address is read from sentinel |
|
|
|
|
# 3. "cluster": the source redis has several db |
|
|
|
|
# 4. "proxy": the proxy address, currently, only used in "rump" mode |
|
|
|
|
# 2. "sentinel": the redis address is read from sentinel. |
|
|
|
|
# 3. "cluster": the source redis has several db. |
|
|
|
|
# 4. "proxy": the proxy address, currently, only used in "rump" mode. |
|
|
|
|
# 源端redis的类型,支持standalone,sentinel,cluster和proxy四种模式,注意:目前proxy只用于rump模式。 |
|
|
|
|
source.type = standalone |
|
|
|
|
# ip:port |
|
|
|
|
# the source address can be the following: |
|
|
|
|
# 1. single db address. for "standalone" type. |
|
|
|
|
# 2. ${sentinel_master_name}:${master or slave}@sentinel single/cluster address, e.g., mymaster:master@127.0.0.1:26379;127.0.0.1:26380. for "sentinel" type. |
|
|
|
|
# 3. cluster that has several db nodes split by semicolon(;). for "cluster" type. |
|
|
|
|
# 3. cluster that has several db nodes split by semicolon(;). for "cluster" type. e.g., 10.1.1.1:20331;10.1.1.2:20441. |
|
|
|
|
# 4. proxy address(used in "rump" mode only). for "proxy" type. |
|
|
|
|
# 源redis地址。对于sentinel模式,输入格式为"master名字:拉取角色为master或者slave@sentinel的地址" |
|
|
|
|
source.address = 127.0.0.1:20441 |
|
|
|
@ -48,8 +48,8 @@ source.auth_type = auth |
|
|
|
|
# target redis configuration. used in `restore`, `sync` and `rump`. |
|
|
|
|
# the type of target redis can be "standalone", "proxy" or "cluster". |
|
|
|
|
# 1. "standalone": standalone db mode. |
|
|
|
|
# 2. "sentinel": the redis address is read from sentinel |
|
|
|
|
# 3. "cluster": open source cluster (not supported currently) |
|
|
|
|
# 2. "sentinel": the redis address is read from sentinel. |
|
|
|
|
# 3. "cluster": open source cluster (not supported currently). |
|
|
|
|
# 4. "proxy": proxy layer ahead redis. Data will be inserted in a round-robin way if more than 1 proxy given. |
|
|
|
|
# 目的redis的类型,支持standalone,sentinel,cluster和proxy四种模式。 |
|
|
|
|
target.type = sentinel |
|
|
|
|