wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
768 stars 125 forks source link

Declare process for Publisher | Part 2 #82

Closed h44z closed 1 year ago

h44z commented 2 years ago

Split #80 into two parts. This part contains:

wagslane commented 1 year ago

My issue with this one is that it doesn't seem right to me that a publisher would declare a queue - those 2 concepts should be decoupled in most applications

h44z commented 1 year ago

@wagslane this decision should be made by the application developer, not the api. If someone wants or needs to declare queues or whatever as publisher, this should be supported by the api.

wagslane commented 1 year ago

Fyi @h44z we now have some conflicts here. I'll review once those are resolved.

wagslane commented 1 year ago

I actually made these updates and merged them. Well, accomplishes the same thing but is done slightly differently. Thanks!