This bundle will wrap the swarrot-redis library.
It will provide a way to use the redis provider while using the SwarrotBundle.
Use composer to install this bundle :
composer require dekalee/redis-swarrot-bundle
Activate it in the AppKernel.php
file:
new Dekalee\RedisSwarrotBundle\DekaleeRedisSwarrotBundle(),
In your config.yml
file, you should set the provider to redis and specify the connection :
swarrot:
provider: redis
default_connection: redisQueue
connections:
redisQueue:
host: %redis_queue_host%
port: %redis_queue_port%
vhost: %redis_queue_database%
You can directly use your queing system as before