Skip to content

maorohana-redis/temporal-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕒 Order Fulfillment Workshop (Temporal Java + Spring Boot)

This is a hands-on workshop to learn Temporal Java SDK using a real-world style order fulfillment system. You'll explore:

  • Workflows & Activities
  • Signals & QueryMethods
  • Spring Boot integration
  • Determinism testing via Replay API
  • Temporal Web UI + CLI interaction

🚀 Getting Started

✅ Prerequisites

  • Java 17+
  • Gradle 7+
  • Homebrew (for macOS)
  • Docker (for running Temporal locally)

⚙️ Step 1: Install Temporal Server

Using Temporal CLI:

brew install temporal
temporal server start-dev --db-filename temporal.db

This spins up a lightweight Temporal server with Web UI at http://localhost:8233


⚙️ Step 2: Run the Worker & Spring Boot API

1Start the worker and API:

./gradlew bootRun

Worker listens to order-queue and exposes APIs on http://localhost:8080

🧪 Run Tests

./gradlew test

Tests include:

  • A standard unit test that runs the workflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages