Skip to content
Symfony messenger transport over redis streams
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
composer.json

README.md

Symfony messenger transport with redis

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          
You can’t perform that action at this time.