Created
August 4, 2026 14:06
-
-
Save lhauspie/7c67023ca66bdfb38289ab3155669fe5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class OrderService { | |
| public void createOrder(Order order) { | |
| database.save(order); | |
| kafkaProducer.send( | |
| new OrderCreatedEvent(order) | |
| ); | |
| emailService.sendConfirmation(order); | |
| paymentService.pay(order); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment