agoat/redis-transport

This package is abandoned and no longer maintained. No replacement package was suggested.

A Symfony messenger transport adapter for redis streams with support for scheduling

dev-master 2019-03-13 11:02 UTC

This package is not auto-updated.

Last update: 2020-12-22 16:27:00 UTC


README

Initialization

Add a redis_transport.yaml into the config/packages directory with the following content:

services:
    _defaults:
        autowire: true
        autoconfigure: true
        public: false

    Agoat\RedisTransport\:
        resource: '../../vendor/agoat/redis-transport/src/*'

Messenger configuration

framework:
    messenger:
        transports:
            # Addd a redis transport with (optional) options
            redis:
                dsn: '%redis.transport.dsn%'
                options:
                    namespace: 'myOwnNamespace' # A custom namespace
                    channel: 'myChannel' # A channel name to split communication
                    group: 'myGroup' # The groupname for multiple concurrent worker
                    timeout: 60 # default
                    count: 10 # default