Multi Tenancy

Isolate tenants in a Cratis application with Chronicle namespaces — Arc maps the current tenant to a namespace (TenantNamespaceResolver), and each namespace has its own events, projections, reducers, and read models. Every Cratis application is assumed multi-tenant, so use this when setting up tenancy, when writing code that touches events or data on behalf of a tenant, and when a single-tenant deployment has to grow a second tenant.

Cratis Updated 4 repo stars

File contents

Cratis/AI commit 9ba4ebfd8c

Frequently asked questions

npx get-skill add cratis/multi-tenancy