Summary
In this chapter, we walked through a sample implementation of a data-contract-driven architecture and used that to illustrate the concepts we have been learning throughout the book and show them in action. We started by defining a contract in a custom YAML-based interface, and used that to drive a few different applications and services.
The first of those was a BigQuery table, which acts as the interface between the data generators and the consumers. We introduced an IaC tool called Pulumi and showed how it can be used to create and manage resources driven by the data contract.
We then showed how, by converting our data contract to JSON Schema, an open standard, we can easily produce libraries to help the data generators publish data that matches the schema and passes the data quality checks we defined.
That same JSON Schema was then used to populate a schema registry. We showed how that allows the schemas to be easily accessible through its rich API and also looked...