Skip to content

Add spring.redis.lettuce.read-from property for configuring LettuceClientConfiguration's read from setting #42576

@thiagoteichmann

Description

@thiagoteichmann

Currently using Lettuce but noticed that config properties lacks readFrom property and require code change to implement it, would be possible to externalize this in a property so we can override the default?

I currently have a redis sentinel totally configured by properties but I cannot configure read from property the same way.

Something like:

spring.redis.lettuce.config.read-from=REPLICA_PREFERRED

or

spring.redis.config.read-from=REPLICA_PREFERRED

Originally opened a ticket against spring data redis but was requested to open a ticket here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions