The Saga design pattern is a way to manage data consistency across microservices in distributed transaction scenarios. A saga is a sequence of transactions that updates each service and publishes a message or event to trigger the next transaction step.
https://www.nexsoftsys.com/articles/java-microservice-architecture-using-saga-pattern.html