cedricziel/symfony-messenger-pubsub-bundle
pubsub://) and route configuration are Symfony-centric. Workarounds would require:
cedricziel/messenger-pubsub package uses Google’s PHP Pub/Sub client, which could be integrated into Laravel via raw SDK usage (e.g., google/cloud-pubsub). However, this loses the bundle’s Symfony Messenger integration benefits (e.g., retry logic, middleware).| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Symfony Dependency | Critical | Avoid; use raw Google Pub/Sub SDK instead. |
| Laravel Ecosystem Gap | High | Build custom Laravel wrapper or abandon bundle. |
| Push Endpoint Security | Medium | Requires HTTPS + authentication (not addressed in README). |
| Error Handling | Medium | Bundle lacks docs on dead-letter queues or retries. |
| Testing Overhead | Medium | Mocking Pub/Sub in Laravel tests is non-trivial. |
google/cloud-pubsub).database, redis) and compare Pub/Sub’s scalability (millions of messages) vs. simplicity.google/cloud-pubsub in Laravel to validate feasibility before committing to the bundle.symfony/dependency-injection).| Component | Compatibility | Notes |
|---|---|---|
| Laravel | ❌ No | Symfony-specific; requires workarounds. |
| Google Cloud Pub/Sub | ✅ Yes | SDK is language-agnostic. |
| Symfony Messenger | ❌ No | Core dependency. |
| HTTP Push | ⚠️ Partial | Needs Laravel routing + auth setup. |
| CLI Pull | ✅ Yes | Can be adapted with raw SDK. |
subscription/backlog_bytes).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Pub/Sub Outage | Messages lost if unacked. | Enable dead-letter topics, retries. |
| HTTP Push Endpoint Down | Messages lost (no retry). | Use pull subscriptions as backup. |
| Laravel Worker Crashes | Unprocessed messages pile up. | Implement health checks, auto-restart. |
| Permission Denied (IAM) | No message delivery. | Audit IAM roles, use service accounts. |
| Throttling (Quota Exceeded) | API rate limits hit. | Monitor quotas, implement backoff. |
How can I help you explore Laravel packages today?