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.
PubSubTransportFactory registration), reducing integration complexity.Envelope structure.DelayStamp is unsupported, which may be a blocker for time-based workflows (e.g., scheduled retries).my-pubsub) for non-critical messages.google/cloud-pubsub).Serializer).composer require cedricziel/messenger-pubsub google/cloud-pubsub
PubSubTransportFactory in services.yaml.messenger.yaml.async transport).| Failure Scenario | Impact | Mitigation Strategy |
|---|---|---|
| Pub/Sub outage | Messages undeliverable | Implement local retry queue (e.g., Doctrine). |
| Message serialization errors | Lost messages | Add validation middleware before publishing. |
| Acknowledgment deadline exceeded | Duplicate processing | Use idempotent message handlers. |
| GCP API throttling | Slow processing | Implement exponential backoff in workers. |
| Credential rotation | Transport failures | Use short-lived credentials + automation. |
How can I help you explore Laravel packages today?