Sources of the Zeebe Get-Started guide for the Java client.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
LICENSE
README.md
docker-compose.yml
pom.xml

README.md

Zeebe - Get Started Java Client

This repository contains the source code of the Zeebe Get-Started Java client tutorial.

You can find the tutorial in the Zeebe documentation.

Run with Maven

Build the JAR file with Maven

mvn clean package

And execute it with Java

java -jar target/zeebe-get-started-java-client-0.1.0-jar-with-dependencies.jar

docker-compose

Make sure to build the worker by running mvn clean package.

Then start the broker:

docker-compose up -d broker

and start the worker

docker-compose up worker

You should see output like this:

$ docker-compose up worker
Creating zeebe-get-started-java-client_worker_1_7b7ff1087d87 ... done
Attaching to zeebe-get-started-java-client_worker_1_1b0b3eca78ad
worker_1_1b0b3eca78ad | Connecting to broker: zeebe-broker:26500
worker_1_1b0b3eca78ad | Connected to broker: zeebe-broker:26500
worker_1_1b0b3eca78ad | Workflow deployed. Version: 1
worker_1_1b0b3eca78ad | Workflow instance created. Key: 6
worker_1_1b0b3eca78ad | Closed.
zeebe-get-started-java-client_worker_1_1b0b3eca78ad exited with code 0

Code of Conduct

This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to code-of-conduct@zeebe.io.

License

Most Zeebe source files are made available under the Apache License, Version 2.0 except for the broker-core component. The broker-core source files are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See individual source files for details.