Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Content]: Queue Channels #561

Open
AugustMiller opened this issue Nov 9, 2023 · 3 comments
Open

[Content]: Queue Channels #561

AugustMiller opened this issue Nov 9, 2023 · 3 comments

Comments

@AugustMiller
Copy link
Contributor

Product

Craft CMS

Description

The Queue article doesn't mention “channels,” why you would configure them, or how to push jobs into specific channels.

@AugustMiller
Copy link
Contributor Author

@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)…

@timkelty
Copy link
Contributor

https://discord.com/channels/456442477667418113/1171428607831318550

I talked to Brandon, and here's the plan:

  • add --queue=queue and --channel=default options 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 implements craft\queue\QueueInterface.
    • If more than 1, we would show a dropdown to switch between components to show queue items

@AugustMiller
Copy link
Contributor Author

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!

AugustMiller added a commit that referenced this issue Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants