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

fix: [AUEML-2412] remove fail on startup if rabbitmq is offline #97

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

lucas1993
Copy link
Contributor

This PR removes the shutdown calls on the regular publisher and the consumer when connection to rabbitMQ fails.

It also changes the outbox publisher to return a dummy internal publisher that always fails in this case.
This allows the application to start normally.
It will still save the messages on the database, but Watermill will error instead of crashing.

@github-actions github-actions bot added the fix label Oct 9, 2024
@fernandobandeira fernandobandeira merged commit 22a33f8 into gothunder:main Oct 9, 2024
3 checks passed
@lucas1993 lucas1993 deleted the fix/aueml-2412 branch October 9, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants