Skip to content

This repository contains the files used in the DEM538 presentation, From Zero to Event-Driven with Dapr and Azure Service Bus

License

Notifications You must be signed in to change notification settings

iamalexmang/build2025-dem538

Repository files navigation

DEM538 Baseline Repository (Bombardier Edition)

This repo mirrors the on‑stage flow for From Zero to Event‑Driven with Dapr & Azure Service Bus.

1. Build & launch baseline

docker compose build
docker compose up -d redis inventory-api billing-api shipping-api order-api

Now order-api is at http://localhost:5000.

Smoke‑test

curl -X POST http://localhost:5000/orders \
     -H "Content-Type: application/json" \
     -d '{ "orderId": 1, "amount": 99.0 }'

2. Run processor with Dapr sidecar

dapr run --components-path ./components \
         --app-id order-processor --app-port 6000 \
         -- dotnet order-processor/order-processor.dll

3. Generate load with Bombardier

bombardier -c 50 -n 1000 \
  -m POST \
  -b '{\"orderId\":42,\"amount\":99.0}' \
  http://localhost:5000/orders

Install on macOS:

brew install bombardier

4. Hot‑swap to Azure Service Bus

Set SERVICEBUS_CONNECTION_STRING, then:

kubectl apply -f components/orders-pubsub-servicebus.yaml

Done!

About

This repository contains the files used in the DEM538 presentation, From Zero to Event-Driven with Dapr and Azure Service Bus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published