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

ENH: Add support for multiple rabbit hosts in con string #151

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

DavidFair
Copy link
Collaborator

We should be connecting to the rabbit MQ hosts directly, this is currently preventing us from consuming messages as we previously went through a LB which is now unavailable

  • Support constructing a connection string which contains multiple host endpoints.
    This avoids us going through an LB and matches the approach used by OpenStack more closely.

  • TBC Update host endpoint to point directly to our HV's in the chart

  • Update chart version to ensure the new app version is picked up

Support constructing a connection string which contains multiple host
endpoints. This avoids us going through an LB and matches the approach
used by OpenStack more closely.
@DavidFair DavidFair force-pushed the Connect_to_rabbit_hosts_directly branch from ffb52b7 to 06bbfc8 Compare July 2, 2024 13:03
meoflynn
meoflynn previously approved these changes Jul 2, 2024
Builds a secondary strng for the debug output where we never place the
password in, instead of replacing it later.
This further lowers the chance of printing sensitive details if the
replace didn't work
meoflynn
meoflynn previously approved these changes Jul 2, 2024
…osts_directly

Pull in update workflows to allow CI/CD jobs to finish in this PR
@codecov-commenter
Copy link

codecov-commenter commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.03%. Comparing base (62c065e) to head (94117d4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   97.23%   96.03%   -1.20%     
==========================================
  Files          66       19      -47     
  Lines        2997     1211    -1786     
==========================================
- Hits         2914     1163    -1751     
+ Misses         83       48      -35     
Flag Coverage Δ
rabbit_consumer 97.01% <100.00%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

anish-mudaraddi
anish-mudaraddi previously approved these changes Jul 2, 2024
Specify a Rabbit host directly, since trying to connect to multiple
hosts isn't working

We'll address this in a future commit since the foundation is in place
@DavidFair DavidFair dismissed stale reviews from anish-mudaraddi and meoflynn via 94117d4 July 2, 2024 14:37
@DavidFair DavidFair marked this pull request as ready for review July 2, 2024 14:38
@DavidFair DavidFair requested a review from meoflynn July 2, 2024 15:21
@meoflynn meoflynn merged commit 66d1861 into master Jul 2, 2024
11 checks passed
@DavidFair DavidFair deleted the Connect_to_rabbit_hosts_directly branch July 2, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants