Skip to main content

Notification Subsystem C3 Relationships

The previous lesson assembled the complete Notification C3 composition. Now restore ten relationships covering the user interface, data access, REST APIs, and messaging through RabbitMQ.

Full lesson walkthrough in the selected color theme.

Starting Diagram​

All fifteen objects are visible, but their dependencies are hidden. This intermediate state makes it easier to verify each group in sequence without duplicating any model element.

Loading image...
Five context objects and ten internal components are ready for their dependencies

Relationship Catalog​

Open Add: Relationship. The catalog offers dependencies from the shared model, preserving their names, descriptions, and identifiers.

Loading image...
Relationships are selected from the model instead of being recreated

User Interface​

First select the administrator's UI interaction with the management service. The direction runs from actor to service: the user knows which interface to call, while the service does not depend on a particular user.

Loading image...
The administrator interacts with the management service through the UI

Data Access​

Add the three service-to-PostgreSQL dependencies. They use the generalized names Reads data and Writes data, while the specific operation stays in each description. The arrow always points to the database: the application knows the data store, but the data store does not know the application service.

Loading image...
Clients read and write data while databases remain passive dependencies

REST APIs​

The next group represents three REST API interactions: the administration service requests delivery statuses and sends information to CRM, while the reporting service retrieves analytics data. A common name makes integrations comparable; the call's specific purpose remains in its description.

Loading image...
Three integrations use a consistent architectural vocabulary

Message Broker​

Finish with the orchestrator's three dependencies on RabbitMQ queues. It publishes and receives messages, so the arrows run from the application component to the queues. The broker does not know its consumers and therefore does not become the relationship source.

Loading image...
Publishing and receiving messages are directed from the application component toward the broker

Add the Dependencies​

Select Add. All ten existing relationships return to the diagram in one action, including two distinct dependencies between the orchestrator and the sent-messages queue.

Loading image...
Two dependencies between the same elements retain their distinct architectural meanings

Result​

Notification C3 is complete: fifteen objects and ten dependencies match the prepared structure exactly. Generalized names make it comparable with other C3 diagrams, while descriptions preserve domain-specific detail.

Loading image...
Fifteen objects and ten directed relationships form the complete subsystem topology

Timeline​

  • 00:00 — Notification C3 without relationships
  • 00:10 — Relationship catalog
  • 00:22 — User interface
  • 00:35 — Data access
  • 00:55 — REST APIs
  • 01:21 — Message broker
  • 01:46 — Adding relationships
  • 01:50 — Complete topology
  • 01:54 — Overview
  • 01:58 — Notification C3 complete

Previous lesson: Notification Subsystem C3 Components.

Next lesson: PostgreSQL C3 Structure.