Event-driven microservices architecture diagram

This diagram shows an event-driven microservices system. A web app and a mobile app call an API gateway, which uses Keycloak for sign-in over OIDC. The Orders, Payments and Inventory services each have their own database and publish to Kafka, and the Notifications service receives events from Kafka.

Free to start in your browser. Nothing to install.

Event-driven microservices
The Event-driven microservices template in FlowShape

What's in it

  • Web app and Mobile app as clients of the API gateway
  • Keycloak as the identity provider, linked over OIDC
  • Four services: Orders, Payments, Inventory, Notifications
  • A database per service: two PostgreSQL, one MongoDB
  • Kafka with the topics order.created, payment.settled, stock.reserved

MicroservicesKafka

Good for

  • Explaining service boundaries and data ownership to a team
  • Showing which services talk through events and which through the gateway
  • Reviewing a design before splitting a monolith

In an event-driven architecture, services publish events to a broker such as Kafka instead of calling each other directly. With a database per service, each service owns its own data.

Make it yours

Every shape is editable

Rename, move, restyle or delete anything. Connectors stay attached when shapes move.

In your browser

FlowShape runs in Edge, Chrome or any modern browser. Nothing to install.

Export when you need to

Word, PDF, PowerPoint and Visio (.vsdx).

Start from this template