Anant example-cassandra-cadence-workflow
License: No License Provided
Language: Java
mkdir cadence
git clone https://github.com/Anant/example-cassandra-cadence-workflow.git
I assumes you to have
A basic understanding of Docker images and containers.
Docker installed on your local system, if you haven't please see to install it Docker Installation Instructions.
Make sure docker is running locally, if you don’t have it already, please get it from the docker webpage, and also get the latest version of the Cadence YAML file that contains the necessary images using the command below.*
curl -O https://raw.githubusercontent.com/uber/cadence/master/docker/docker-compose.yml && curl -O https://raw.githubusercontent.com/uber/cadence/master/docker/prometheus_config.yml
docker-compose up -d
docker run --rm ubercadence/cli:master
For your Cadence workflow, you must always register a domain for your Cadence workflow, run the following command once before running any new samples with a separate domain. Here we have created a domain called hello-domain.*
docker run --network=host --rm ubercadence/cli:master --do hello-domain domain register
docker exec -it cadence_cadence_1 /bin/bash
cadence --address $(hostname -i):7933 --do hello-domain domain register
docker run --network=host --rm ubercadence/cli:master --do hello-domain domain describe
*See blog.anant.us for full article
Join Our Newsletter!
Sign up below to receive email updates and see what's going on with our company.