Demos & examples

See every principle and capability, live.

Each demo is mapped 1:1 to a data-mesh principle — domain ownership, data as a product, self-serve platform, federated computational governance — and to the Quarkus capability it exercises. The runnable examples/ tree and all 19 demos/*.sh scripts are in the repo today — every card below links straight to the script and the service it exercises.

Run them all

demos/walkthrough.sh is the five-act presenter orchestrator that runs the full set back to back. For the complete demo-by-demo matrix (prereqs, opt-in profiles, what each one asserts), see demos/README.md ↗. First time here? Start with setup & prerequisites.

Demos by principle

Domain ownership & data as a product

Each domain service — order, inventory, payment, shipping, notification, review — owns its data, its API surface, and its operational lifecycle.

Self-serve platform

Federated computational governance

Quarkus vs. Spring Boot

One runnable Spring Boot twin service, examples/spring-boot-compare, ships alongside its Quarkus counterpart for a real side-by-side comparison — startup time, memory footprint, and native-image build (see scripts/compare-quarkus-springboot.sh).

Running a demo

Every demo assumes the local Docker Compose stack (Kafka, Postgres, Apicurio, the observability stack) is running. See setup & prerequisites for the toolchain, then:

cp .env.example .env
docker compose up -d
./demos/demo-order.sh        # or any other demos/demo-*.sh
./demos/walkthrough.sh       # run the full five-act set

Some demos are opt-in — AI/MCP demos need docker compose --profile ollama up -d, the native demo needs a GraalVM/Mandrel build, and the KEDA demos need the local Kubernetes cluster from scripts/bootstrap.sh. See demos/README.md ↗ for the full prereqs-by-demo matrix.