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
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
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.