Issue with Consumer ID in Dapr Topic Subscription
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 378
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 6
Description
I'm working with a Dapr application, and I'm having trouble with my topic subscription setup in the following code:
`builder.MapControllerRoute("ReceiveFeedEvent", "/ReceiveFeedEvent").WithTopic(new TopicOptions
{
PubsubName = Config.DaprAlertFeedConsumerName,
Name = configuration[Config.AlertFeedTopicNameKey],
Metadata = new Dictionary()
{
{ "consumerID","feed"}
}
});`
I'm using this configuration to set up a route that receives events from a specified topic. However, it seems that the consumerID I specified in the metadata does not work as expected.
Kindly help if there is a specific format or requirement for the consumerID in Dapr subscriptions?
I am trying to subscribe multiple subscription under one topic using Dapr.
Contributor guide
Assessment
This issue has not been assessed yet.