b2pweb/bdf-queue-messenger-bundle
Messenger component, replacing the default queue transport (doctrine://, amqp://, etc.) with a custom bdfqueue:// transport. This aligns well with Symfony-based applications leveraging async processing but introduces a vendor-specific abstraction over standard transports.Illuminate\Queue) shares conceptual parallels with Symfony’s Messenger. However, direct integration would require adapters or middleware to bridge Laravel’s queue workers (queue:work) with this bundle’s transport layer.bdfqueue:// transport could theoretically be wrapped as a Laravel queue driver (via Illuminate\Contracts\Queue\Transport), but this would require:
Transport interface.messenger.yaml and Laravel’s config/queue.php.queue:work uses Illuminate\Queue\Worker, which may not natively support Symfony’s MessageBus architecture.b2pweb/bdf-queue package (listed as a dev dependency) as a standalone queue library for Laravel, bypassing the Symfony-specific bundle.consumer_timeout or stamp_serializer interact with Laravel’s queue system).Config, DependencyInjection), which may conflict with Laravel’s ecosystem.bdfqueue:// compare to Laravel’s native database, redis, or beanstalkd drivers in throughput/latency?bdf-queue) could be adapted:
BdfQueueDriver) that delegates to b2pweb/bdf-queue.// app/Providers/QueueServiceProvider.php
Queue::extend('bdf', function ($app) {
return new BdfQueueDriver(config('queue.bdf'));
});
b2pweb/bdf-queue directly (without the Symfony bundle) as a custom queue worker for Laravel jobs.bdfqueue:// against Laravel’s native drivers (e.g., Redis) for critical metrics (jobs/sec, memory usage).b2pweb/bdf-queue as a standalone library (avoid Symfony bundle).messenger.yaml to Laravel’s config/queue.php:
# Laravel config/queue.php
'connections' => [
'bdf' => [
'driver' => 'bdf',
'consumer_timeout' => 1, // Mirror Symfony config
'stamp_serializer' => null,
],
],
bdf-queue implements Illuminate\Queue\Batchable).afterCommit() hooks (would need custom logic).symfony/* components unless absolutely necessary (use composer’s replace or aliases).redis → bdf for non-critical jobs).bdfqueue:// performance.queue:failed-table and queue:retry commands may not work out-of-the-box with bdfqueue://.MessageBus), requiring familiarity with both ecosystems.b2pweb/bdf-queue library.bdf-queue’s support for multiple consumers/workers (critical for Laravel’s queue:work --daemon).MessageBus when processing Laravel jobs.queue:work uses PcntlSignal; ensure bdfqueue:// handles SIGTERM/SIGKILL gracefully.Transport interface.bdf-queue’s internals (e.g., how it handles retries).Stamp interfaces, Middleware).How can I help you explore Laravel packages today?