I was using SpringBoot starters for camunda. Currently we are using same schema with discriminator column for all the tenants.
Later we decided to use tenant per database schema and for each tenant we have to configure different process engines.
The setup would be like,
1 EC2 instance of camundaserver should serve multiple tenants with different process engines.
- Tenant-1 -> Tenant1_DB
- Tenant-2 -> Tenant2_DB
- Tenant-3 -> Tenant3_DB
How to configure programmatically for different process engines per tenant to use different DataSources?
We are not relying on any xml(bpm-platform.xml or processes.xml).