This bundle will wrap the swarrot-pubsub library.
It will provide a way to use the pubsub provider while using the SwarrotBundle.
Use composer to install this bundle :
composer require dekalee/pubsub-swarrot-bundle
Activate it in the AppKernel.php file:
new Dekalee\PubSubSwarrotBundle\DekaleePubSubSwarrotBundle(),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'You can directly use your queing system as before
