[Content]: Queue Channels
Product
Craft CMS
Description
The Queue article doesn't mention “channels,” why you would configure them, or how to push jobs into specific channels.
@timkelty was looking into supporting queue channels via flags on the CLI (i.e. --channel heavy); otherwise, I'm not sure we really have a smart way of handling this (beyond creating a second queue component and associated runner actions)…
https://discord.com/channels/456442477667418113/1171428607831318550
I talked to Brandon, and here's the plan:
- add
--queue=queueand--channel=defaultoptions to queue cli commands (defaults shown) - For the CP Utility:
- instead of just showing the
Craft->$app->getQueue()component, we would get any components that implementscraft\queue\QueueInterface. - If more than 1, we would show a dropdown to switch between components to show queue items
- instead of just showing the
Ben Croker published an article this morning that suggests custom queues provide their own console controllers, so this may be solvable without any changes to Craft!