The workflow HelloWorld takes a name string as input and return "Hello $name!" using sequentially 2 tasks run on distributed workers:
- a
sayHellotask that takes anamestring as input and returns"Hello $name" - an
addEnthusiasmtask that takes astrstring as input and returns"$str!"
This repository is described in the Infinitic documentation.
If needed, update credentials in infinitic.yml.
You don't need to update infinitic.yml if you use a local standalone Pulsar instance. Run this Pulsar instance using docker compose up.
run ./gradlew run
Launch 10 workflows! ./gradlew dispatch (see Client.java main function)