dekalee/pubsub-swarrot-bundle

The bundle for the pubsub adaptor for swarrot

Installs: 11

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

v1.0.0 2019-11-26 10:59 UTC

README

Scrutinizer Code Quality Latest Stable Version Total Downloads License

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