spring-cloud / spring-cloud/spring-cloud-commons
Multitenancy in Spring Cloud
Open
Nobody has claimed this yet.
closable
enhancement
- Dominant language
- Java
- Stars
- 751
- Forks
- 744
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
after talking with a large financial services company that's building a SaaS offering, we discovered a few opportunities to better support multi-tenancy in a SaaS offering:
- how do we make Hystrix tenant aware? It would be nice, for example, if the
@HystrixCommandtook a SpEL expression for the key so that we could distinguish circuits based on request context. The company I spoke to ended up using an alternative circuit breaker implementation called JRugged because it was easy enough to plug this in, as I understand it. - how do we handle service registration and discovery based on request context? Right now Eureka registration is per JVM. How do we qualify registration (and discovery) based on request context?
- how do we handle config server multi-tenancy, e.g.: given request context, load a different set of configuration files.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies @HystrixCommand, Eureka registration and discovery, and config server behavior as separate areas for investigation. Start by reviewing those entry points and the existing request context handling; the issue does not name files or tests or define a bounded completion criterion, so the scope and acceptance criteria need clarification first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, cloud, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100