Namespaces
A namespace is an isolated tenant partition within an event store. All event sequences, observers, projections, and read models operate within a specific namespace. Separating tenants by namespace lets a single event store serve multiple customers or environments without sharing state.
The default namespace is Default. Most commands target Default unless you specify -n.
Lists all namespaces within an event store.
cratis chronicle namespaces listOptions
Section titled “Options”| Flag | Description |
|---|---|
-e, --event-store <NAME> | Event store to inspect. Defaults to default. |
Examples
Section titled “Examples”List namespaces in the default event store:
cratis chronicle namespaces listList namespaces in a named event store:
cratis chronicle namespaces list -e myappList in plain format for scripting:
cratis chronicle namespaces list -e myapp --output plainList namespaces across all event stores:
cratis chronicle event-stores list -q | xargs -I {} cratis chronicle namespaces list -e {}