AyazKhuraishi / camunda-kafka-camunda-spring-simple

Simple Java Spring Boot example connecting to Confluent Cloud (Kafka) and Camunda Cloud (Zeebe)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Confluent Cloud (Apache Kafka) + Camunda Platform 8 (Zeebe)

Sample Glue Code Written in Java Spring Boot

Simple example code connecting Confluent Cloud (Kafka) and Camunda Platform 8 SaaS (Zeebe) by leveraging the Java Spring Boot integrations of both frameworks.

The example automates a very simple process, that

  • writes a record to Kafka
  • listens to the exact same record to correlate it back to the process instance

You can find a walk through on YouTube here:

Walkthrough

How to run

  • Create Kafka cluster in Confluent Cloud: https://confluent.cloud/

  • Create client credentials and add them to application.properties

  • Create Camunda cluster in Camunda 8 Saas: https://console.cloud.camunda.io/

  • Create client credentials and add them to application.properties

  • Start up Java application, which will

    • Deploy the process (visible via Camunda Operate)
    • Create the topics (visible via Confluent Console)
  • Kick off a new process instance, e.g.

    • via Camunda Desktop Modeler

About

Simple Java Spring Boot example connecting to Confluent Cloud (Kafka) and Camunda Cloud (Zeebe)

License:MIT License


Languages

Language:Java 100.0%