cedricziel/messenger-pubsub
Symfony Messenger transport bridge for Google Cloud Pub/Sub. Adds a pubsub:// transport via PubSubTransportFactory for publishing and consuming messages from Pub/Sub. Note: Pub/Sub doesn’t support delayed delivery, so DelayStamp is ignored.
Bridge Google Cloud Pub/Sub with the Symfony messenger component.
Note: Use cedricziel/symfony-messenger-pubsub-bundle for automatic wiring in your Symfony Framework application.
composer require cedricziel/messenger-pubsub
To use the pubsub transport, you would register the PubSubTransportFactory through the following configuration:
# config/services.yaml
services:
CedricZiel\Symfony\Messenger\Bridge\GcpPubSub\Transport\PubSubTransportFactory:
tags: [messenger.transport_factory]
Create a concrete transport:
# config/packages/messenger.yaml
framework:
messenger:
transports:
my-pubsub: 'pubsub://...'
Google Cloud Pub/Sub does not support delaying messages, so a DelayStamp will have no effect.
MIT
How can I help you explore Laravel packages today?