Skip to content

jamillosantos/cadence-study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cadence-study

Instructions

Install cadence-cli:

go install go.uber.org/cadence@latest

Start dependencies:

docker-compose up -d

Create domain:

cadence --domain samples-domain domain register

Start worker:

go run cmd/worker/main.go

Trigger workflow:

go run cmd/workflow/main.go

When you trigger the workflow, you will see on the worker output the TaskToken (it is a huge hexadecimal).

Trigger task completion:

go run cmd/taskcompleter/main.go 00 <PASTE task-token HERE>

Note: 00 is the response code that will be passed as response for of the activity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages