Support the ongoing development of Laravel.io →
Queues Jobs Installation

Hi,

Is it possible in Laravel 5.2 to have two listeners listening to just specific queues only, so for example if job handler 1 can only pop items from queue 1 and job handler 2 can only pop items from queue 2 ?

Basically I want to make a distributed app, where let's say I have two servers in a pool of available machines, I then on my main laravel app machine want to run listners as so:

4 listeners for server1 and task1

4 listeners for server 2 and task1

I want any of the listeners (worker) to grab the job but then use their associated server to perform the task, is that something that can be done using queues?

Thanks in advance.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ilnli ilnli Joined 30 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.