jwulf / zeebe-get-started-go-client

Sources of the Zeebe Get-Started guide for the Golang client.

Home Page:https://zeebe.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ 📣 This repository is no longer maintained, please visit https://github.com/camunda/camunda-platform-get-started

Zeebe - Get Started Go Client

You can find the tutorial in the Zeebe documentation.)

Camunda Cloud Deployment

Export the connection settings as environment variables:

export ZEEBE_ADDRESS='[Zeebe API]'
export ZEEBE_CLIENT_ID='[Client ID]'
export ZEEBE_CLIENT_SECRET='[Client Secret]'
export ZEEBE_AUTHORIZATION_SERVER_URL='[OAuth API]'

Hint: When you create client credentials in Camunda Cloud you have the option to download a file with above lines filled out for you.

Then run any example in src:

cd src
go run example-4.go

Docker Deployment

First start a broker

docker run --rm -d -p 26500:26500 --name broker camunda/zeebe:8.0.0

Then run any example in src:

cd src
go run example-4.go

Updating this guide

To test and update this guide for a new Zeebe version, go to the Update Zeebe Version workflow. Click run workflow, choose master, your version x.y.z and whether or not to push the changes.

Note, that the Zeebe version x.y.z must be available as a docker image tagged as `camunda/zeebe:1.1.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.

About

Sources of the Zeebe Get-Started guide for the Golang client.

https://zeebe.io

License:Apache License 2.0


Languages

Language:Go 87.2%Language:Shell 12.8%