Dynamic tenant setup at runtime #1764
Unanswered
WillemCoudron
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Converting this to a discussion. Try just setting the topic name on DeliveryOptions or using BroadcastToTopic. Please don't use GitHub issues for questions though. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
We have a multi-tenant setup where tenants are created dynamically. So we don't know all the tenant ids when the application starts, while the application is running new tenants can be created and the application can be onboarded for the tenant (this is done by just activating the application for the tenant, without the need for a new container to be spun up). This application is responsible for configuration.
Next to that there is a new container that is started for the runner specific for that tenant and a service bus topic (on azure service bus) is created with a listener for this container.
So from the main application a message should be able to be send to that dynamicly created topic for that specific tenant. We can't seem to figure out, using tenant configuration (cause we don't know the tenant id's at build or first startup) or using the toDestination method how to configure this. Could you guide us to the right path please?
Our latest attempt was the following:
Beta Was this translation helpful? Give feedback.
All reactions