Open milosdakic opened 7 years ago
?
@RomainLanz updated my comment.
For jobs I use this https://github.com/nrempel/adonis-scheduler.
And it runs fine!
RabbitMQ?
@rbartholomay correct me if I'm wrong - adonis-scheduler
is more like CRON rather then MQ handler? :)
@milosdakic recently I got a project based on Adonis 4 which required integration with some sort of MQ (it was not decided during the time of development). I couldn't find any suitable solution so decided to make my own MQ handler. You can find it here: https://github.com/DeSmart/queuejs
I was able to integrate it quite easily into Adonis. If you want to I could provide dirty solution (no unit tests, and definitely not as robust as it is in Laravel).
I used https://github.com/nrempel/adonis-kue as an alternative to RabbitMQ. Unfortunately it seems to have gone stale and is not Adonis4 ready.
@danilopolani and I have done some work to make it compatible https://github.com/danilopolani/adonis-kue/commits/adonis4
@radmen yes - it´s like cron...
Looking into having a queue/job system implemented for Adonis. Very similar to the events system but will post the job into a db/file and queue it for a worker to handle.
Alas Laravel/Lumen.