gushakov / axon-zeebe

Integrating Axon CQRS with Zeebe workflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Axon and Zeebe

Proof-of-concept integration of Zeebe workflow engine from Camunda with Axon CQRS engine.

The idea is to use Zeebe workflow engine instead of Sagas in Axon. Example goes through a familiar scenario of a trip booking. Workflow is used to model the sequence of events: book a car, book a hotel, book a flight and the sequence of compensating events: cancel flight, cancel hotel, cancel flight.

The advantage of this approach is that long business process can be modeled visually with Zebee's BPMN modeler, and also that there is a convenient monitoring of each worflow instance state through Zeebe's Simple monitor.

Running

Build with mvn package. Run docker-compose build. Run docker-compose up and wait until the workflow is deployed.

Copyright disclaimer

Some code was copied/modified from these (open) sources:

About

Integrating Axon CQRS with Zeebe workflow


Languages

Language:Java 93.9%Language:Dockerfile 3.2%Language:Shell 2.9%