Posts

Showing posts with the label Spring Boot Kafka Camunda 8

Projet Exemple : Spring Boot + Kafka + Camunda 8

Image
Les architectures modernes basĂ©es sur les microservices reposent fortement sur une communication orientĂ©e Ă©vĂ©nements. Dans cet article, nous allons construire un exemple concret de projet combinant : Spring Boot Apache Kafka Camunda 8 Ce projet dĂ©montre comment : DĂ©marrer un workflow Camunda Ă  partir d’un Ă©vĂ©nement Kafka Publier des Ă©vĂ©nements Kafka depuis un processus Camunda GĂ©rer l’orchestration asynchrone Maintenir une architecture propre et dĂ©couplĂ©e 🎯 Cas d’usage : Système de traitement de commandes ScĂ©nario : Un service de commandes publie un Ă©vĂ©nement dans Kafka. Un consommateur Kafka reçoit l’Ă©vĂ©nement. Camunda 8 dĂ©marre un workflow. Le workflow dĂ©clenche un service de paiement. Le rĂ©sultat du paiement est publiĂ© dans Kafka. Camunda corrèle le message et termine le processus. 🏗 Vue d’ensemble de l’architecture Composants : Application Spring Boot Broker Kafka Camunda 8 (Zeebe) Worker Paiement đź›  Étape 1 ...

Spring Boot + Kafka + Camunda 8 Project Example

Image
 Modern microservices architectures rely heavily on event-driven communication. In this article, we will build a real example project combining: Spring Boot Apache Kafka Camunda 8 This project demonstrates how to: Start a workflow from a Kafka event Publish Kafka events from Camunda Handle asynchronous orchestration Maintain clean separation of concerns 🎯 Use Case: Order Processing System Scenario: An Order Service publishes an event to Kafka. A Kafka Consumer receives the event. Camunda 8 starts a workflow. The workflow triggers a Payment Service. Payment result is published back to Kafka. Camunda correlates the message and completes the process. 🏗 Architecture Overview Components: Spring Boot App Kafka Broker Camunda 8 (Zeebe) Payment Worker đź›  Step 1: Project Setup Create Spring Boot project with: Dependencies: Spring Web Spring Kafka Camunda Zeebe Client Lombok 📦 Maven Dependencies ...