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

move dead set functions into messaging.dead-set namespace #85

Closed
wants to merge 1 commit into from

Conversation

satyanash
Copy link

@satyanash satyanash commented Aug 20, 2019

move dead set functions into messaging.dead-set namespace

@theanirudhvyas
Copy link
Contributor

@satyanash what was your rationale behind doing this refactoring?

@theanirudhvyas
Copy link
Contributor

I do not want rabbitMQ specific logic (langohr) to leak out of the consumer namespace, with the refactoring that you have done, dead-set also has rabbitMQ specific logic now.


(defn- try-consuming-dead-set-messages [ch ack? queue-name topic-entity]
(try
(let [[meta payload] (lb/get ch queue-name false)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wish to keep the rabbitMQ logic encapsulated in consumer namespace, what if we keep this function in consumer namespace itself or abstract it out some other way?

@theanirudhvyas
Copy link
Contributor

Hey @satyanash, seems you are no longer working on this. I'm closing this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants