-
Notifications
You must be signed in to change notification settings - Fork 64
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
Lg rabbitmq retry #266
Lg rabbitmq retry #266
Conversation
src/ziggurat/messaging/producer.clj
Outdated
(:count (channel-retry-config topic-entity channel))) | ||
|
||
(defn get-configured-retry-count [] |
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.
This method should go inside ziggurat.config
. Missed it while pairing
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.
ziggurat.config is giving whole configuration and we are only fetching rabbit-mq retry count
which is required for our use case. So i feel this file is the right place for this method as other similar methods are already there.
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.
hmm. fine. since channel retry configuration is also coming from producer.clj, it seems fine. But, given that we're just fetching configuration and not doing anything produce
specific, ziggurat.config would have been the right place even for getting channel retry count.
You can look at other helper methods in ziggurat.config
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.
Moved config as per suggestion, kindly check and merge.
8f94e9c
to
862fccf
Compare
No description provided.