0

The contracts in spring-cloud-contract are created and managed by provider side in most of tutorials. in this case, it happens "provider-driven" instead of "consumer-driven". is this the nature of spring-cloud-contract or can i implement consumer-driven in spring-cloud-contract?

denizg
  • 828
  • 9
  • 18

1 Answers1

2

We recommend a consumer-driven approach where the consumer service team submits contract PRs to the producer repo. You can find a detailed outline of this approach here.

OlgaMaciaszek
  • 3,662
  • 1
  • 28
  • 32
  • 1
    You can also check this post for more information https://stackoverflow.com/questions/57309971/spring-cloud-contract-is-it-consumer-driven/57310306#57310306 – Marcin Grzejszczak May 20 '20 at 08:27