Running multiple queues on different connections in Laravel

Solution 1:

Use the onConnection() method as follows (using the podcast example from the Laravel queues documentation page):

ProcessPodcast::dispatch($podcast)->onConnection('sync');