[QUESTION] Multi-tenancy with different brokers and result backends #7084
Unanswered
luismojena
asked this question in
Q&A
Replies: 1 comment
-
Hey @luismojena 👋, We also offer priority support for our sponsors. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there, 👋
I am working in a multitenant system in which, for compliance (laws and regulations) reasons, each tenant has a separate database, which means that I have to connect to different result backends.
The app is a flask app that runs in Kubernetes for all tenants, the tenant information is only available when a request hits the flask app, and with that info, we set up a database connection, etc.
My question is: Is there a way to achieve this in a natural way without having to mess with celery internals? Maybe by providing a callable that returns the connection string?
If this is not supported, what do you recommend doing?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions