Skip to content

docs: Add configuration example for Lettuce with Sentinel topology refresh - #3442

Open
steffenboe wants to merge 1 commit into
spring-projects:mainfrom
steffenboe:docs/sentinel-lettuce-topology-refresh
Open

steffenboe wants to merge 1 commit into
spring-projects:mainfrom
steffenboe:docs/sentinel-lettuce-topology-refresh

Conversation

@steffenboe

Copy link
Copy Markdown

When using the Lettuce to connect to a Redis Sentinel Topology, i fell into the trap that my application did not recover from an "ordered" sentinel failover, because there was no connection failure.
I learned from #2668, that one needs to configure Lettuce to use the Master/Replica-Mode, by setting the read-from property.

As it took some time to figure this out, i enhanced the docs to explicitly mention this configuration option.

To be honest, my expectation was that when connecting to a Redis Sentinel Topology, Lettuce would handle this out of the box, without the need to set this additional property.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 16, 2026
@steffenboe
steffenboe force-pushed the docs/sentinel-lettuce-topology-refresh branch from 427316d to 7705a7d Compare September 16, 2026 08:01
Signed-off-by: steffenboe <steffen.boerner@exxeta.com>
@steffenboe
steffenboe force-pushed the docs/sentinel-lettuce-topology-refresh branch from 7705a7d to 9955151 Compare September 16, 2026 08:03
@mp911de mp911de self-assigned this Sep 28, 2026
@mp911de mp911de added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 28, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: documentation A documentation update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants