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

Dapr Topic subscription does not work on Azure Container Apps #1197

Closed
bastiennoel93 opened this issue Nov 30, 2023 · 1 comment
Closed

Dapr Topic subscription does not work on Azure Container Apps #1197

bastiennoel93 opened this issue Nov 30, 2023 · 1 comment

Comments

@bastiennoel93
Copy link

bastiennoel93 commented Nov 30, 2023

Hello,

I don't see any subscriptions on my topic when deploying my api on azure container app.

In my app environment container, I created a component with the type "pubsub.azure.servicebus.topics" with the metadata for connecting to the namespace.

I've added the code in my api to subscribe to the topic :

app.UseCloudEvents();
app.UseEndpoints(endpoints =>
{
    endpoints.MapSubscribeHandler();
});

When I call "/dapr/subscribe" in my api, I see the various endpoints with their topics.

Subscription is done locally using Tye.

Is there anything else I need to do for the subscription to work on azure container app?

@bastiennoel93 bastiennoel93 changed the title Dapr Topic subscription not work on Azure Container Apps Dapr Topic subscription does not work on Azure Container Apps Nov 30, 2023
@bastiennoel93
Copy link
Author

It's okay, it was just an identity issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant