C4 diagrams
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
draw the system at three zoom levels.
Planned topics
- Level 1, context: your system, its users, and external systems.
- Level 2, container: separately running units (services, databases, brokers) and how they talk.
- Level 3, component: the main building blocks inside one container.
- Level 4 (code) is usually left to the IDE.
- Each element has a name, a type, a short description; each arrow a label such as "Publishes OrderPlaced (Kafka)".
- Diagrams as code: Structurizr DSL, PlantUML C4, or Mermaid; verify version of the C4 support before recording.
Draft outline details
Demonstration
a Structurizr DSL snippet with person, softwareSystem, container, and a views block.
Check your understanding
Is a Kafka topic a container in C4?
Show answer
A broker is; the topic is detail inside it.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.