Grokking Kafka and Event-Driven Architecture
0% completed
Order Pipeline: Consistency Across Services
At 18:04:07, order G-20417 is saved in the order service's database with the status PLACED. At that same moment, the payment service has never heard of the order, the customer's screen says "Order received," and the store will not see the order for almost two days. Each of those views is correct for the service that holds it.
Two seconds later, the views look different. The payment service has authorized 95.04 dollars, the customer's bank app shows a pending hold for that amount, and the customer's screen says "Confirmed." The order service's database says CONFIRMED
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%