Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multitenancy #15

Open
michael-schnell opened this issue Apr 16, 2020 · 0 comments
Open

Add multitenancy #15

michael-schnell opened this issue Apr 16, 2020 · 0 comments
Assignees

Comments

@michael-schnell
Copy link
Member

michael-schnell commented Apr 16, 2020

Allow multitenancy for the event store commons.

  • As this is mainly an implementation detail, it should have almost no effect on the API.
  • Not all implementations will be capable to support this feature
  • "Database multitenancy" is already available by simply using two instances of an event store.
  • "Schema multitenancy" could be made available for JPA, Memory, ESJC and ESHTTP implementations
    • JPA might be difficult, because it depends on the implementation like Hibernate, EclipseLink, ...
    • ESJC and ESHTTP can support it by adding a tenant prefix to all streams
  • An important topic would be security - One tenant should not be able to access the other tenant's data. Not sure if this works with JPA/Hibernate.
michael-schnell added a commit that referenced this issue Apr 16, 2020
@michael-schnell michael-schnell self-assigned this Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant