iron_mq_php icon indicating copy to clipboard operation
iron_mq_php copied to clipboard

Confusions about Laravel Queues using IronMQ

Open bilalnaeem opened this issue 9 years ago • 2 comments

I am using Laravel Queues and I am using IronMQ for it. But I have little bit confusion about how this process.

I have set my default connection in queue.php as 'default' => 'iron' and also set iron settings in same file.

Now I use

$this->dispatch(new createEvents($data, $user));

while createEvents class is a job class created as explained in Laravel tutorial. Now when following code is executed

$this->dispatch(new createEvents($data, $user));

It successfully creates a queue in my ironmQ account under project.

Now here is my confusion starts. I have queued some task to that queue but now how will I run that queue? How will I run the task that is queued? Do I need to create some extra code for it or Do I need to do some settings for it. Please guide

bilalnaeem avatar Dec 31 '15 09:12 bilalnaeem

It seems like Laravel support for IronIO is being removed. I submitted a patch to support IronIO v3 but it looks like that got reverted https://github.com/laravel/framework/issues/10968#issuecomment-166428805 Since the revert it looks like support for IronIO is no longer going to be an option. Unless someone from IronIO steps in to get the integration fixed it looks like Laravel developers will move to SQS or roll your own Redis.

ryantology avatar Jan 11 '16 22:01 ryantology

Iron will be supported by the Laravel Collective:

https://github.com/LaravelCollective/iron-queue

TomKita avatar Feb 02 '16 04:02 TomKita