cadence-notification

module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2022 License: MIT

README

Cadence Notification Service

This is an extension of Cadence service to support notifications.

See detailed background and proposal in this issue.

Running locally

TODO: add a Dockerfile to build docker image, then make a docker-compose file to run all in one

Running in Production

TODO

Development

The default Cadence docker compose files cannot be used. Because its Kafka broker DNS are behind docker network and cannot be used by non-docker processes. (Please improve it if you know how to workaround)

The following instructions is from

1. Checkout cadence server repo

Follow the instruction to start local server binary using cassandra-es7-kafka.yml

2. Start a workflow

Use cadence-samples to start a helloworld workflow

3.0 Start cadence-notification by command line
make bins

to generate the cadence-notification binary, then

./cadence-notification start

to start the service.

3.1 Alternatively, start with IntelliJ IDE

In IDE, click the run button in the main.go

main-run And then `Edit Configurations` to add the `Program Arguments` like below ide-config

Directories

Path Synopsis
cmd
common

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL