-
Notifications
You must be signed in to change notification settings - Fork 440
Does redis factory supports sentinel or cluster? #341
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
Comments
I saw the |
redis factory
supports *sentinel* or *cluster*?
Passing redis object to connection factory is not possible at the moment. Would you like to send us a PR? |
Please take a review! @makasim |
This should solve the issue #367 (comment) |
# config/service.yaml
services:
enqueue_redis_client:
class: Enqueue\Redis\PRedis
arguments: ['@snc_redis.client']
enqueue:
transport:
redis:
vendor: custom
redis: enqueue_redis_client |
Is this still possible to do with the new config structure in 0.10? |
It looks like this has been broken here: php-enqueue/redis@d6d2148#diff-8e8970cea30c8c83bfe7de0e4d4470e4L18 and is now no longer possible to set a Predis\ClientInterface to PRedis. I can see that RedisConnectionFactory now can accept Enqueue\Redis instance, but it's not possible to pass that either: I tried doing:
but I get: |
I use SncRedisBundle in
symfony
, how can I config asnc_redis.client
as the enqueue's redis connection driver.The text was updated successfully, but these errors were encountered: