Skip to content

A Symfony bundle to add Google Cloud Pub/Sub suppport for the Symfony messenger

Notifications You must be signed in to change notification settings

cedricziel/symfony-messenger-pubsub-bundle

Repository files navigation

Google Cloud Pub/Sub bundle

This bundle wires cedricziel/messenger-pubsub in a Symfony application.

It enables working Pub/Sub messages through the CLI and via push to an HTTP endpoint.

Installation

composer require cedricziel/symfony-messenger-pubsub-bundle

Configuration

Configure your Symfony Messenger by supplying a valid DSN using the pubsub scheme.

MESSENGER_TRANSPORT_DSN=pubsub://my-google-cloud-project/my-pubsub-topic?subscription=my-subscription

Activate the push routes:

_pubsub_push:
  resource: '@GoogleCloudPubSubMessengerBundle/Resources/config/routes.xml'
  prefix: /

License

MIT

About

A Symfony bundle to add Google Cloud Pub/Sub suppport for the Symfony messenger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages