jetcache spring boot环境下的lettuce,redis模式是sentinel,如何在uri中配置密码

pxy2qtax  于 2023-02-04  发布在  Spring
关注(0)|答案(4)|浏览(445)

remote:
default:

//缓存数据库类型

type: redis.lettuce
keyConvertor: fastjson
uri: redis-sentinel://192.168.103.01:26379,192.168.103.02:26379,192.168.103.03:26379/1?sentinelMasterId=mymaster

uxhixvfz

uxhixvfz2#

已解决

如何配置的?

at0kjp5o

at0kjp5o3#

schema://[password]@host:port password需要urlencode

a6b3iqyw

a6b3iqyw4#

password不能含有@

相关问题