Spring Boot + Kafka + Camunda 8 Project Example
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 ...