Anant example-cassandra-cadence-workflow

License: No License Provided

Language: Java

Cadence-Cassandra-Workflow

Start by making a directory for your cadence workflows

mkdir cadence

Clone the Cadence and Cassandra example workflow

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

Pull and start all the necessary images in the YAML file

docker-compose up -d

When the containers are running, then pull the latest Cadence CLI image using the command below

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

Note: If you are getting a connection refused problems with registering a domain, you can go into the docker container and execute the following command to register workflow domain.*

docker exec -it cadence_cadence_1 /bin/bash

Register your domain

cadence --address $(hostname -i):7933 --do hello-domain domain register

Open another terminal to confrim that the domain has been created

docker run --network=host --rm ubercadence/cli:master --do hello-domain domain describe

*See blog.anant.us for full article

Related Tools

Dse Metric Reporter Dashboards

License : Other

Language : Python

26

11

30

Example Cassandra Terraform Astra Provider

License : No License

Language : Shell

N/A

N/A

N/A

Cass Operator

License : Apache License 2.0

Language : Go

249

94

78

Kafka Sink

License : Other

Language : Java

Need Cassandra Training?

WE GOT YOU COVERED.

Anant US provides online training for Apache Cassandra that covers all the important skills you need to know in order to work with this high performance, open source NoSQL database.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company.