Skip to content

jonathanmorais/saga-pattern-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saga-pattern-study ✈️ 🏨 💳

This project do proposal to study a software architectural pattern called Saga, when we've microservices that comunicate each other with consistency approach. In other words, each microservice or component, should be wait for previous microservice for continuous the request flow.

use case

For this study, i will approach a travel payment system with three steps or Saga orchestrator, when the step 1 send the request to a kafka topic and the same, send the request back and again, the step send the request to a fligh booking and get the response. Every step follow the same flow with difference of the final service, that are hotel booking and payment.

architecture

arch

API

Usage

curl --header "Content-Type: application/json" -\
    -request POST --data '{"message":"holy wars"}' \
    http://localhost:8070/flightproducer \
     ' --silent | jq .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published