Microservice Matchmaking: Pact Testing Between Spring Boot and gRPC
summary
Shows how Pact links a Spring Boot REST consumer to a .NET gRPC provider by generating a protobuf descriptor set, pushing consumer contracts to a Pact Broker, and running provider verification that produces a Can I Deploy result. Live demo exercises contract creation, provider stubbing and CI gating but hit Docker broker flakiness. Practical pitfalls: Pact v4 plugins need a version workaround, proto default values require extra test branches, and gRPC needs TLS or HTTP2 transport setup for reliable verification.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:13The integration problem
- 4:38Contract testing approach
- 5:58Pact framework overview
- 8:02Workflow and verification
- 9:16Challenges with gRPC
- 11:48Demo and setup
- 14:36Best practices and closing
related talks
59mUsing Pact to Deploy Microservice with Confidence
39mPacts to the Rescue! Making your microservices play nicely together
01h 13mContract Testing Made Easy: Master Pact for Microservices in C#
47mBeyond REST - Contract Testing in the Age of gRPC, Kafka & GraphQL
42mInvestigating Contract Testing
01h 21mMicro-Service Delivery Without the Pitfalls
10mDeploy microservices confidently using Consumer Driven Contracts
45mDeploy microservices confidently using Consumer Driven Contracts
