dekalee / pubsub-swarrot-bundle
The bundle for the pubsub adaptor for swarrot
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
This package is auto-updated.
Last update: 2024-10-26 21:44:26 UTC
README
This bundle will wrap the swarrot-pubsub library.
It will provide a way to use the pubsub provider while using the SwarrotBundle.
Installation
Use composer to install this bundle :
composer require dekalee/pubsub-swarrot-bundle
Activate it in the AppKernel.php
file:
new Dekalee\PubSubSwarrotBundle\DekaleePubSubSwarrotBundle(),
Configuration
In your config.yml
file, you should set the provider to pubsub and specify the connection :
swarrot: provider: pub_sub default_connection: pub_sub connections: pub_sub: host: 'noneRequired'
Usage
You can directly use your queing system as before