Skip to main content

Domain

A SysCraft domain is a logical responsibility boundary within a landscape. It structures the architecture, assigns team ownership, and reduces complexity through meaningful decomposition.

Definition​

A domain groups objects that share a business goal, a responsibility context, and a team or group of teams responsible for their development and operation. It commonly represents a product or subsystem such as Catalog, Payments, or Delivery; services owned by one team; or a functional area such as Identity and Access.

Domains improve navigation, support access separation, reduce visual noise, and limit the impact of local changes.

The General Domain​

General is for elements that do not belong to a defined business domain, span several domains without one owner, represent external systems or shared infrastructure, or are awaiting a more specific domain.

Use General when several teams share responsibility, the object is outside the business context, the system is external, or the appropriate domain does not yet exist. General is not a dumping ground: an element with a clear owner and responsibility domain belongs in that domain even when other areas use it.

Platform Domains​

Do not mix platform and domain objects indiscriminately:

  • Platform objects provide infrastructure or technology, such as DBMSs, message brokers, Kubernetes clusters, API gateways, and monitoring systems.
  • Domain objects implement business functions or contracts, such as services, application databases, queues, topics, events, and commands.

Where infrastructure and product teams differ, create a dedicated Platform or Infrastructure domain. This reduces change conflicts and clarifies responsibility and access.

Databases, Queues, and Topics​

Place a DBMS platform such as PostgreSQL, MS SQL, or Oracle—and a broker platform such as Kafka or RabbitMQ—in General or a platform domain. Place a concrete database in the domain of the team for which it was created. For example, PostgreSQL belongs to Platform, while orders_db belongs to Orders, even when other domains read its data.

Key rule: A queue or topic belongs to the domain that owns the contract, not to its consumers.

For events, the publisher owns the contract. If Customers publishes CustomerCreated to customer-events, the topic belongs to Customers even when Orders, Payments, and Delivery subscribe. For commands, the receiver owns the contract. A payments.commands queue belongs to Payments; other domains use the interface without owning it.

A purely technical integration queue with no business owner, or a queue that is part of an external system, may exceptionally belong to General.

Change Domain Ownership​

An object's domain is not permanent. As teams and the model evolve, SysCraft can move the object to another domain without losing relationships or history.