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

Redis Sentinel support? #316

Open
mwolff-fn opened this issue Feb 7, 2025 · 0 comments
Open

Redis Sentinel support? #316

mwolff-fn opened this issue Feb 7, 2025 · 0 comments

Comments

@mwolff-fn
Copy link

Hi,

I was trying to connect to a Redis Sentinel service like this:

REDIS_URL=redis://sentinel1.example.com:26379,sentinel2.example.com:26379,sentinel3.example.com:26379?serviceName=myservice

...which failed entirely. If I do it like this, I can at least get a connection:

REDIS_URL=redis://sentinel1.example.com:26379?serviceName=myservice

...but the Sentinel is treated like a regular Redis instance, so all the usual GET/SET commands fail.

I'm using the default phpredis driver, which does have support for Sentinel in general, but requires a different connection class than the regular one to use it.

Is there a way to configure Packeton to use that, or any other way to use Sentinel with Packeton?

Thanks a lot,
Markus

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

No branches or pull requests

1 participant