Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Lettuce schema for Redis Sentinel URLs #52

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

alex-goodisman
Copy link
Contributor

Schema is defined here: https://github.com/lettuce-io/lettuce-core/wiki/Redis-URI-and-connection-details#uri-syntax

OTR_REDIS_URL value should be comma-separated as before, and each term should either be a regular redis:// URL, or one of these lettuce pseudo-url entries.

Updated the docker-compose test files to use this schema for sentinel.

The tests themselves still connect directly to the sentinel cluster, but OTR running in the tests will parse the URLs as described.

Copy link
Contributor

@adamtajti adamtajti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alex-goodisman alex-goodisman merged commit 0867d6f into master Jan 8, 2024
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the alex.redis-lettuce branch January 8, 2024 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants