Namespace Prefix

Lattices are designed to support multi-tenancy in that you can run multiple, isolated lattices on the same NATS cluster without risking overlapping traffic. This is made possible through the use of a namespace prefix. Every lattice has one and the NATS topic space is sub-divided beneath this prefix.

If you don’t specify a namespace prefix, then wasmCloud will use default as the prefix name. This is fine when you’re working on your development machine in isolation, but when you’re running in a production environment you might want to consider providing an explicit namespace for the lattice to avoid any chance of accidental overlap.

The main thing to be wary of is running multiple lattices without specifying a prefix, as they will all adopt the default prefix and merge into one unified lattice.