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

feat: create a single queue for the controller to use #140

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Jun 12, 2022

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

To try and standardise the messaging to the controller, implement 1 single queue that uses a new type LagoonEvent that has

  • EventType
    • lagoon:build
    • lagoon:task
    • lagoon:removal
    • lagoon:misc
  • Payload
    • payload will be the message that would normally be sent via the queue.

The single queue is enabled by default, and will still start the existing 4 queues for the time being. This allows the controller to be rolled out over time supporting the new single queue option, and then a Lagoon-core update will be released that changes to the single queue option by default.

A clean up script to remove the old queues will be provided with the lagoon-core release when it happens.

Closing issues

closes #138

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

Successfully merging this pull request may close these issues.

Reduce number of queues
1 participant