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
772 stars 126 forks source link

feat: add consume options to disable declaring of a queue #49

Closed TomBrouws closed 2 years ago

TomBrouws commented 2 years ago

This PR adds the option to disable declaring of a queue. This resolves a permission error in the situation where a user only has basic get and consume permissions on the queue.

miketonks commented 2 years ago

I hit the same issue. See https://github.com/wagslane/go-rabbitmq/issues/52