-
Notifications
You must be signed in to change notification settings - Fork 189
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: Specify how to populate messaging.destination.name
#1531
RabbitMQ: Specify how to populate messaging.destination.name
#1531
Conversation
This PR was marked stale due to lack of activity. It will be closed in 7 days. |
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.
LGTM with some small suggestions
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.
Thank you!
Overall LGTM but I see that in the consumer side, you don't ever use |
Yes, AFAIK for consumers there's always a queue, which also can be the same as the routing key in the 'default exchange' case. https://www.rabbitmq.com/tutorials/amqp-concepts#consumers |
Fixes #1529
Changes
Specify in more detail how to populate
messaging.destination.name
for RabbitMQ. I based it on the Default exchange docs. My understanding is that arouting key
is always present, even when using the default exchange (empty in this case). The routing key then is the queue name.For all other cases, I left it as
amq.default
which is what RabbitMQ uses. I saw reference for it for example here: https://www.rabbitmq.com/docs/access-controlMerge requirement checklist
[chore]