Temporal MapReduce Tree

Demonstration of mapreduce using trees with Temporal workflows.

Requirements

(AKA What I had installed)

  • Java 1.8+
  • Local Temporal Server. This is straightforward with the Temporal CLI

Usage

Start the Temporal worker

./gradlew bootRun

Run the workflow

temporal workflow start \
--type NodeWorkflow \
--task-queue tree-tq \
--input '{"length": 200}'

Learn more about Temporal and the Java SDK