0
votes

I am implementing a Spring Boot application which will be providing a multitenant environment. That is archieved in my case by using a database schema for each customer. Example see this project.

Now I am wondering how to implement tenant-specific configurations. I am using @ConfigurationProperties to bundle my property values, but these are getting instantiated once and not for each tenant.

What if I would like to use Spring Cloud Config with multiple tenant specific git repository as an configuration backend. Would it be possible when using a jdbc backend for Spring Cloud Config?

Is there any way with default Spring mechanisms or do I have to implement a database based configuration framework myself?

I am grateful for every hint. Rokko