Search code examples
microservicessaga

communication between micro-services after completed some thing


Let's say we have two microservices: MeetingProposal and Meeting.

Process of creating a meeting:

  • To create a meeting, users should propose their request, after their request, we create a proposal and show it to the admin.
  • If admin accepts the proposal then we should change the status of proposal to accepted and also create a meeting in the meeting microservice.

Question:
How we should connect these two processes to each other (after proposal accepted => create meeting automatically)?


Solution

  • It's called business processes management, long running flows, sagas, or similar(see this)

    We should use some orchestration engines like Cadence or Netflix Conductor or any other orchestration engine.