Consumer driven contracts (CDC) are like TDD applied to the API. It’s especially important in the world of microservices. Since it’s driven by consumers, it’s much more user friendly. Of course microservices are really cool, but most people do not take into consideration plenty of potential obstacles that should be tackled. Then instead of frequent, fully automated deploys via a delivery pipeline, you might end up in an asylum due to frequent mental breakdowns caused by production disasters.
We will write a system using the CDC approach together with Spring Boot, Spring Cloud Contract verifier. I’ll show you how easy it is to write applications that have a consumer driven API and that will allow a developer to speed up the time of writing his better quality software.
Author of "Mockito Instant" (https://www.packtpub.com/application-development/instant-mockito) and "Mockito Cookbook" (https://www.packtpub.com/application-development/mockito-cookbook) books. OSS Contributor. Co-founder of the Warsaw Groovy User Group and Warsaw Cloud Native Meetup (http://toomuchcoding.com/abstracts/www.meetup.com/Warsaw-Cloud-Native-Meetup/).
Lead of Spring Cloud Sleuth (https://cloud.spring.io/spring-cloud-sleuth/), Spring Cloud Contract (https://cloud.spring.io/spring-cloud-contract/) and Spring Cloud Pipelines (https://cloud.spring.io/spring-cloud-pipelines/) projects at Pivotal (http://spring.io/)
Contributed to Groovy, Mockito, Rest-assured, Drools, Moco. Author of Uptodate Gradle plugin (https://github.com/marcingrzejszczak/uptodate-gradle-plugin), Spock subjects-collaborators extension (https://github.com/marcingrzejszczak/spock-subjects-collaborators-extension/), gradle-test-profiler (https://github.com/marcingrzejszczak/gradle-test-profiler), JSONAssert (https://github.com/marcingrzejszczak/jsonassert) and XMLAssert (https://github.com/marcingrzejszczak/xmlassert)open source projects.
Github profile (https://github.com/marcingrzejszczak)
Lanyrd profile (http://lanyrd.com/profile/marcin-grzejszczak)
Twitter: @MGrzejszczak (https://twitter.com/MGrzejszczak)
Goodreads account (https://www.goodreads.com/author/show/7284553.Marcin_Grzejszczak)