What is a Consumer-Driven Contract (CDC)?

Technology CommunityCategory: MicroservicesWhat is a Consumer-Driven Contract (CDC)?
VietMX Staff asked 3 years ago

This is basically a pattern for developing Microservices so that they can be used by external systems. When we work on microservices, there is a particular provider who builds it and there are one or more consumers who use Microservice.

Generally, providers specify the interfaces in an XML document. But in Consumer Driven Contract, each consumer of service conveys the interface expected from the Provider.