cedricziel/symfony-messenger-pubsub-bundle

Symfony Messenger Bundle adding Google Cloud Pub/Sub support

Fund package maintenance!
cedricziel

Installs: 121

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 1

Type:symfony-bundle

dev-main 2021-05-22 13:19 UTC

This package is auto-updated.

Last update: 2024-10-22 21:30:53 UTC


README

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