We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
runtime
1.12.4
When defining 5 routing keys the subscription stops working, no messages are getting pushed by Dapr to the defined route
apiVersion: dapr.io/v1alpha1 kind: Component metadata: name: pubsub-a spec: type: pubsub.rabbitmq version: v1 metadata: - name: consumerID value: "test-api" - name: connectionString value: {RABBIT-MQ-CONNECTION-STRING} - name: durable value: false - name: deletedWhenUnused value: false - name: autoAck value: false - name: deliveryMode value: 0 - name: requeueInFailure value: false - name: prefetchCount value: 0 - name: reconnectWait value: 5 - name: concurrencyMode value: parallel - name: enableDeadLetter value: false - name: exchangeKind value: topic
apiVersion: dapr.io/v2alpha1 kind: Subscription metadata: name: event-user-receiver spec: topic: topica routes: default: /api/events/user pubsubname: pubsub-a metadata: routingKey: SYS.*.event.User.UserCreated.#, SYS.*.event.User.UserUpdated.#, SYS.*.event.User.UserDeleted.#, SYS.*.event.User.UserDeactivated.#, SYS.*.event.User.UserActivated.# scopes: - test-api
RELEASE NOTE: FIX Supported routing key count -->
The text was updated successfully, but these errors were encountered:
I found the solution
multiple routing keys need to be separated by a ',' as documented https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-rabbitmq/#bind-multiple-routingkey
However, the routing key is not allowed to include spaces before or after the separator!!
solution:
routingKey: SYS.*.event.User.UserCreated.#,SYS.*.event.User.UserUpdated.#,SYS.*.event.User.UserDeleted.#,SYS.*.event.User.UserDeactivated.#,SYS.*.event.User.UserActivated.#
Sorry, something went wrong.
No branches or pull requests
In what area(s)?
runtime
What version of Dapr?
1.12.4
Expected Behavior
Actual Behavior
When defining 5 routing keys the subscription stops working, no messages are getting pushed by Dapr to the defined route
Steps to Reproduce the Problem
Release Note
RELEASE NOTE: FIX Supported routing key count -->
The text was updated successfully, but these errors were encountered: