How to build solid, resilient and durable workflows with microservices?

How to build solid, resilient and durable workflows with microservices?

?Let's tackle a bit more real process implemented in #dapr and #camunda. Let's consider a use case from insurance business: "As an insurance company I offer my customers credit protection insurance for their mortgage". In this demo we focus only on first part - validation and processing of the request. The following picture shows the #BPMN process.

BPMN process

Let’s expose a simple user friendly customer web site and also some REST endpoints (Customer Experience API) so that partners can plug it directly with their systems. Microservice running on the API will trigger process on Camunda zeebe engine. There are 3 microservices: Subscription Service, Customer Service and Underwriting Service. One has no dependency on another and even they are not aware of the full process (context). They are implemented with #DDD, have their own logic (and can only reach valid states). It's up to someone else to orchestrate and here #Camunda does the job very well.


high level architecture


The full project is on RobertVejvoda/subscription-processing-demo (github.com).

Thank you for sharing, Robert!

回复
Bohdan Blahitka

SW Developer, SW Architect, DevOps

8 个月

What a beauty of a diagram :)

回复

要查看或添加评论,请登录

Robert Vejvoda的更多文章

  • Camunda DMN parallel processing and FEEL expressions

    Camunda DMN parallel processing and FEEL expressions

    The demo shows how to use #Camunda DMN tables for parallel processing and FEEL expressions. No glue, no source code…

    1 条评论
  • Do I work in a techie company?

    Do I work in a techie company?

    What does it take to work for a CORPORATE and why? Developers, architects, read on… We all tend to fall into trap, that…

  • Dapr & Zeebe (Camunda) demo

    Dapr & Zeebe (Camunda) demo

    After some time I went back to #Dapr (v10) and Zeebe engine used in #Camunda Platform 8. Updated projects to .

    2 条评论
  • Some thoughts and experience from implementing DDD

    Some thoughts and experience from implementing DDD

    A lot happened this and last year, so why not to share some thoughts and experience from implementing DDD on a…

    2 条评论

社区洞察

其他会员也浏览了