Search⌘ K

Example: Data Model

Explore how to design data models for Kafka-based asynchronous microservices by understanding table structures, data copying to maintain historical accuracy, and the role of bounded contexts in simplifying domain models while handling eventual data inconsistencies.

We'll cover the following...

Data model for the database #

The database of the order microservice (see the drawing above) contains a table for the orders (Ordertable) and the individual items in the orders (OrderLine). Goods (Item) and customers (Customer) also have their own tables.

In the microservice microservice-kafka-invoice, the tables ...