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
And then `Edit Configurations` to add the `Program Arguments` like below