Posts

Showing posts with the label Camunda 8 Job Worker

Exemple d’intĂ©gration Spring Boot + Camunda 8

L’intĂ©gration de Spring Boot avec Camunda 8 permet de construire des applications de workflow modernes, cloud-native et hautement scalables . Contrairement Ă  Camunda 7, Camunda 8 repose sur une architecture dĂ©couplĂ©e , oĂą les processus BPMN sont exĂ©cutĂ©s par le moteur Zeebe et la logique mĂ©tier est implĂ©mentĂ©e via des Job Workers externes . Dans cet article, nous verrons un exemple simple et complet d’intĂ©gration entre Spring Boot et Camunda 8. 🔹 1. Principe d’architecture Camunda 8 Dans Camunda 8 : Le processus BPMN est dĂ©ployĂ© sur le moteur Zeebe Les Service Tasks gĂ©nèrent des Jobs Les Job Workers Spring Boot consomment ces jobs La communication est asynchrone et Ă©vĂ©nementielle 👉 Il n’y a plus de moteur BPM embarquĂ© dans l’application Spring Boot. 🔹 2. PrĂ©requis Java 17+ Spring Boot 3+ Camunda 8 (Self-Managed ou SaaS) Camunda Modeler Maven 🔹 3. DĂ©pendance Maven Ajoutez le starter Camunda 8 : < dependency > < groupId >io.camunda ...

Spring Boot + Camunda 8 Integration Example

 Integrating Spring Boot with Camunda 8 allows developers to build scalable, cloud-native workflow applications where business processes (BPMN) are executed by external workers written in Java. In this blog, we’ll walk through a simple end-to-end integration example using Camunda 8 , Zeebe, and Spring Boot. 🔹 1. What Changes in Camunda 8? Unlike Camunda 7, Camunda 8 follows a decoupled architecture : BPMN runs in the Zeebe engine Business logic runs in external Job Workers Spring Boot apps connect via the Zeebe client Communication is event-driven and asynchronous 👉 There is no embedded engine inside Spring Boot in Camunda 8. 🔹 2. Architecture Overview Flow: BPMN process deployed to Camunda 8 Service Task creates a Job (with a type) Spring Boot Job Worker subscribes to that type Worker executes logic and updates process variables 🔹 3. Prerequisites Java 17+ Spring Boot 3+ Camunda 8 (Self-Managed or SaaS) Camunda Modeler ...