cedricziel / messenger-pubsub
Bridging Symfony Messenger with Google Cloud Pub/Sub
Fund package maintenance!
cedricziel
Installs: 184
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 3
Open Issues: 0
Type:symfony-bridge
Requires
- php: >=7.2.5
- google/cloud-pubsub: ^1.29
- symfony/messenger: ^5.3
Requires (Dev)
- symfony/event-dispatcher: ^4.4|^5.0
- symfony/phpunit-bridge: ^4.4 || ^5.0
- symfony/process: ^4.4|^5.0
- symfony/property-access: ^4.4|^5.0
- symfony/serializer: ^4.4|^5.0
Suggests
- ext-grpc: Improved performance for gRPC connections
- ext-protobuf: Improved performance for gRPC connections
This package is auto-updated.
Last update: 2024-12-22 23:38:04 UTC
README
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.
Installation
composer require cedricziel/messenger-pubsub
Usage
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://...'
Notable
Google Cloud Pub/Sub does not support delaying messages, so a DelayStamp
will have no effect.
License
MIT