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

[PubSub RabbitMQ] RoutingKey information doesn't work #4114

Closed
olitomlinson opened this issue Apr 13, 2024 · 0 comments · Fixed by #4125
Closed

[PubSub RabbitMQ] RoutingKey information doesn't work #4114

olitomlinson opened this issue Apr 13, 2024 · 0 comments · Fixed by #4125
Assignees
Labels
content/incorrect-information Content in the docs is incorrect

Comments

@olitomlinson
Copy link
Contributor

Docs were never produced for this issue dapr/components-contrib#2962

Describe the issue

https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-rabbitmq/#use-topic-exchange-to-route-messages

The information fails to mention that a subscription must also set the queueName on each subscription.

Without setting the queueName, only one queue will be created, and all routing keys will route to that queue, which means all subscribers will bind to that queue, which will not give the desired results.

The subscription yaml example also needs changing to :

apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
  name: orderspubsub
spec:
  topic: B
  routes: 
    default: /B
  pubsubname: pubsub
  metadata:
    routingKey: keyA
    queueName: queue-A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content/incorrect-information Content in the docs is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants