I am using spring boot version 2.1.3 and trying to connect to cluster redis but I am getting
Cannot retrieve initial cluster partitions from initial URIs
then I upgraded to spring boot version 3.2.2 and start getting another error
io.lettuce.core.RedisException: Cannot obtain initial Redis Cluster topology
any idea why I am not able to connect, although the redis server is accessable and I am passing the correct username, password, host and port to it.
You can create a configuration for
LettuceConnectionFactory.If you have properties file you can configure like
Hope it helps.