-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ Rabbitmq: prepare for using topic queues #4165
✨ Rabbitmq: prepare for using topic queues #4165
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4165 +/- ##
========================================
+ Coverage 85.4% 85.9% +0.4%
========================================
Files 955 799 -156
Lines 41378 35660 -5718
Branches 945 540 -405
========================================
- Hits 35358 30636 -4722
+ Misses 5803 4896 -907
+ Partials 217 128 -89
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brilliant! thx!
@sanderegg One thing is not clear to me. Let's say the fronted subscribes to
It is not clear to me how the message delivery works. Currently we are using the pub/sub pattern (if you are not subscribed you do not get messages). What do the new queues bring? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
101531d
to
2f91896
Compare
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Code Climate has analyzed commit 45dddb0 and detected 0 issues on this pull request. View more on Code Climate. |
What do these changes do?
publish
andsubscribe
methodsNOTE: since we currently use durable exchanges they are kept within rabbitmq memory. Therefore one needs to change the name of the exchange between deployments once they get used.
Since this PR does not yet make use of the new feature this is not yet necessary, but will be once the topic queues are put to use for logs.
Using a topic queue brings the following possibilities:
publish(message="this is a log message", routing_key="dynamic_sidecar.INFO")
*.WARNING
Here is a summary of how RabbitMQ messaging works
*
(exactly 1 word) and#
(0 or more words) and can contain.
between words (e.g. .. and a message might use "director-v2.event.black".Related issue/s
How to test
DevOps Checklist