Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agoat/symfony-redis-transport
Symfony messenger transport over redis streams
https://github.com/agoat/symfony-redis-transport
messenger redis scheduler symfony transport
Last synced: 13 days ago
JSON representation
Symfony messenger transport over redis streams
- Host: GitHub
- URL: https://github.com/agoat/symfony-redis-transport
- Owner: agoat
- Created: 2019-03-07T09:59:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-11T10:57:12.000Z (over 5 years ago)
- Last Synced: 2023-08-21T07:27:39.466Z (about 1 year ago)
- Topics: messenger, redis, scheduler, symfony, transport
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Symfony messenger transport with redis
### Initialization
Add a `redis_transport.yaml` into the `config/packages` directory with the following content:
```yaml
services:
_defaults:
autowire: true
autoconfigure: true
public: falseAgoat\RedisTransport\:
resource: '../../vendor/agoat/redis-transport/src/*'
```### Messenger configuration
```yaml
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
```