vyuldashev / laravel-queue-rabbitmq

RabbitMQ driver for Laravel Queue. Supports Laravel Horizon.
MIT License
1.93k stars 382 forks source link

Add `--json` flag to rabbitmq:consume command for structured logging #607

Open constantin-girsteoga opened 2 weeks ago

constantin-girsteoga commented 2 weeks ago

In Laravel v11.27.0, an option was added to enable structured JSON output for enhanced observability.

More details: https://github.com/laravel/framework/pull/52887

khepin commented 5 days ago

If this is in laravel base it's reasonable to add here. I've enabled running the tests on the PR. Can you make sure those pass?

constantin-girsteoga commented 4 days ago

@khepin It looks like there is an issue with the GitHub Actions workflow.

rm: cannot remove '/usr/local/bin/docker-compose': No such file or directory
Error: Process completed with exit code 1.

https://github.com/vyuldashev/laravel-queue-rabbitmq/actions/runs/11796284794/job/32904327028#step:4:12

I noticed that the scheduled tests on the master branch are also failing. Could you please take a look and address this issue?

https://github.com/vyuldashev/laravel-queue-rabbitmq/actions/runs/12041320448/job/33572959419#step:4:12