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

Consumers can't run before Observers run #14

Open
vonjackets opened this issue Jul 19, 2024 · 0 comments
Open

Consumers can't run before Observers run #14

vonjackets opened this issue Jul 19, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@vonjackets
Copy link
Collaborator

Polar has a race condition that requires the Gitlab Agent Observer entrypoint (or at least one of the resource observers) to be ran before the associated consumers do. This is because the Observer's are responsible for (currently rabbitmq) creating the needed channels and exchanges for messages to be passed through.

Running the consumers first causes them to panic, running them again after the observer's have created the necessary resources fixes this.

It's likely that this job can become a responsibility of the planned "Supervisor" service or that some configuration can be passed to the broker upon its initialization @daveman1010221 Let's discuss

@vonjackets vonjackets added bug Something isn't working enhancement New feature or request labels Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant