Seata: How to set redis password?

Created on 11 Aug 2019  ·  3Comments  ·  Source: seata/seata

Why you need it?

Is your feature request related to a problem? Please describe in details

1.How to set redis password?
2.How to configure multiple redis clusters?
redis {
serverAddr = "localhost:6379"
db = "0"
}

How it could be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Other related information

Add any other context or screenshots about the feature request here.

question

Most helpful comment

just like this in registry.conf

redis {
    serverAddr = "127.0.0.1:6379"
    db = "0"
    password = "your password"
}

All 3 comments

just like this in registry.conf

redis {
    serverAddr = "127.0.0.1:6379"
    db = "0"
    password = "your password"
}

哥们 redis集群是用逗号隔开吗?例如:
redis {
serverAddr = "127.0.0.1:6379,127.0.0.1:6378"
db = "0"
password = "your password"
}

Seata does not support setting redis cluster yet.

Was this page helpful?
0 / 5 - 0 ratings