#3664·dapr

Subscribe to the same Topic from multiple routes in the same Application

Author: fbridgerCreated Sep 14, 2021Updated Sep 15, 2026
Labelskind/enhancementstale

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature

Currently, the Dapr SideCar does not allow to subscribe from multiple routes to the same Topic.

I was under the assumption that this basic scenario was obviously supported but I recently found out that it is not. Seems odd that we can't subscribe multiple/different endpoints to the same Topic from the same Application.

Scenario to support

  1. The App with id "awesome-dapr-app" would like to be able to subscribe to the same Topic ("B") from different routes to do different tasks when that event is published.
  2. "awesome-dapr-app" would return the following JSON in GET /dapr/subscribe
json
[
  {
      "pubsubname": "pubsub",
      "topic": "B",
      "route": "B1"
  },
  {
      "pubsubname": "pubsub",
      "topic": "B",
      "route": "B2"
  }
]
  1. When an event is published to the Topic "B" I would expect the Dapr SideCar to deliver the event to the routes "/B1" and "/B2" independently/concurrently/simultaneously