Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Spring I/O 2026: Durable, Observabable and Test...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

Spring I/O 2026: Durable, Observabable and Testable Spring AI Applications

for more information: https://www.salaboy.com

Avatar for Salaboy

Salaboy

April 14, 2026

More Decks by Salaboy

Other Decks in Technology

Transcript

  1. Before we start… • git clone https://github.com/salaboy/spring-io-2026-workshop • cd spring-io-2026-workshop/

    • Run ./init-workshop.sh or ./init-workshop.ps1 • You need an ANTHROPIC_API_KEY • Create issues if you have questions
  2. Workshop objectives • How to run all these tools in

    developer environment and keep a reasonable cognitive load? • Illustrate usage of modern development techniques (mocking, contract testing, containers testing, observability, …) • Managing complexity and deal with non-deterministic behavior.
  3. Who we are! Mauricio Salatino @salaboy Laurent Broudoux @lbroudoux CNCF

    Ambassador, Java Champion, OSS & ecosystem @ DashO Cloud native Architect @ Postman Microcks founder
  4. The AI/Cloud-native Spring Store Logical view Store 🛍 Warehouse 🗂

    Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process
  5. Step-01 - Let’s start simple, no dependencies Store 🛍 Warehouse

    🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process
  6. Step-01 - Observing Spring AI Store 🛍 LLM 🧠 󰠁

    User place Order orchestrate process Jaeger 👀 traces
  7. Step-01 - Discover app & cut dependencies Store 🛍 LLM

    🧠 󰠁 User place Order orchestrate process ❌ LLM integration can be slow, costly, tedious to use in CI environment… We can use simulations/mocked responses to speed-up the feedback loop when testing non-LLM areas
  8. Microcks Turn artifacts into light & smart simulation INGEST PROVIDE

    MOCKS WELL-KNOWN ARTIFACTS 🧠 SMART MOCKS API Consumer and others
  9. Step-01 - Discover app & cut dependencies Store 🛍 󰠁

    User place Order Jaeger 👀 traces traces https://github.com/anthropics/anthropic-sdk-java/pull/315
  10. Step-02 - Plug the warehouse with MCP Store 🛍 Warehouse

    🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP
  11. Step-02 - Plug the warehouse with MCP Store 🛍 Warehouse

    🗂 LLM 🧠 󰠁 User check Inventory place Order orchestrate process Warehouse MCP ❌ Mocks Contract Testing MCP Team can validate with no delay, in isolation. Backend Team can guarantee conformance with spec, ensure smooth integration.
  12. Microcks Turn artifacts into Contract Testing Suite INGEST WELL-KNOWN ARTIFACTS

    AUTOMATIC TEST SUITE and others VALIDATE REAL API API v1.2 API v1.1 API v1.0 API Provider
  13. Step-02 - Plug the warehouse with MCP Store 🛍 󰠁

    User check Inventory place Order Warehouse MCP Jaeger 👀 traces traces traces
  14. Step-03 - Events, Dapr and more MCP Store 🛍 Warehouse

    🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP Shipping MCP
  15. Step-03 - Events, Dapr PubSub and more MCP Store 🛍

    Warehouse 🗂 Shipping 🚚 LLM 🧠 󰠁 User check Inventory ask Shipment place Order orchestrate process Warehouse MCP Shipping MCP Kafka Dapr ✉ ✉ Dapr
  16. Reshapr Turn artifacts into MCP Server INGEST PROVIDE MCP SERVERS

    ENTERPRISE-GRADE MCP SERVERS 🛡 NO CODE GEN!
  17. Step-03 - Events, Dapr PubSub and more MCP Store 🛍

    Shipping 🚚 󰠁 User ask Shipment place Order Shipping MCP Kafka Dapr ✉ ✉ Dapr Jaeger 👀 traces https://github.com/dapr/java-sdk/pull/1724
  18. Step-04 - Dapr Durable Workflows Store 🛍 LLM 🧠 󰠁

    User ask Shipment place Order orchestrate process Dapr Kafka Dapr ✉ Warehouse 🗂 Shipping 🚚 check Inventory ✉ Dapr
  19. Step-05 - Running on Kubernetes Store 🛍 Anthropic.com 🧠 󰠁

    User Dapr Kafka Warehouse MCP ↔ Shipping 🚚 PostgreSQL Warehouse 🗂 Otel Collector Cert Manager Infrastructure Dash0 👀 External Services
  20. Key Learnings 🤔 • Mocking & Contract Testing come together

    for cutting dependencies and providing with fast feedback loops • Observability is mandatory for understanding how distributed AI-infused apps are expected to work • Dapr provides powerful abstractions, making your application portable and your workflow durable • All of the above can run on your machine without a Kubernetes cluster!