Avoid mastering Kubernetes for local dev. with Dapr and Testcontainers
summary
Shows how to run Dapr APIs locally by launching a Dapr container from Testcontainers so application processes stay debuggable while the sidecar behavior is emulated, with Testcontainers modules spinning up PostgreSQL, Kafka, or even a k3s-in-Docker cluster when needed. Demonstrates wiring Spring Boot and Quarkus apps to Dapr SDK calls (save state, publish) using CloudEvents, automating lifecycle in tests and CI, and exposing local callbacks with an ngrok tunnel. Dapr container via Testcontainers k3s-in-Docker cluster CloudEvents for messaging ngrok tunnel
AI-written summary · about
chapters (12)
- 0:00Local dev challenges
- 7:27Kubernetes complexity
- 10:57What is Dapr
- 17:34Developer vs infrastructure
- 21:45Local dev with Testcontainers
- 29:46Kubernetes locally
- 32:39Dapr + Testcontainers
- 36:07Live demo Pizza Store
- 37:55Multi-language support
- 40:27Extending to cloud
- 42:33Callbacks locally
- 44:41Summary
related talks
50mSimplifying cloud-native app testing across environments
01h 01mTaming Kubernetes Streamlining Inner loop Development for Distributed Systems
47mProd like Integration Testing for Cloud Native Microservices
45mKubernetes Local Development Workflow Distilled
32mLocal development techniques with Kubernetes
48mIntegration Testing with Quarkus.
51mMastering Testcontainers for better integration tests
42mLocal Development Techniques with Kubernetes
