DCNTCourse

Data contracts for data platforms

Lessons8modules
Total80mfull study
Quick7mtrailer
Projects8docker labs

Skills you'll gain

10
  • ODCS v3.1 contract YAML authoringProduction

    Writing fundamentals, schema, quality, slaProperties, and server blocks in a valid ODCS v3.1 YAML. Using datacontract-cli lint and validate to catch malformed sections before they reach CI.

  • dbt model contracts with enforced: trueProduction

    Declaring column-level contracts in dbt 1.9 schema.yml with enforced: true so that removing or renaming a contracted column fails dbt build at compile time. Configuring multi-version models with deprecation_date for producer-consumer migration windows.

  • dbt-checkpoint pre-commit hook configurationWorking

    Wiring check-model-has-contracts, check-model-has-description, and check-source-has-freshness-defined hooks in .pre-commit-config.yaml to block commits that introduce contract-free models before they reach CI.

  • Confluent Schema Registry compatibility mode enforcementProduction

    Configuring BACKWARD, FORWARD, and FULL compatibility modes on Avro and Protobuf subjects. Writing CI jobs that register a candidate schema and fail the PR when the compatibility check returns a violation.

  • Buf CLI breaking-change detection for ProtobufWorking

    Running buf breaking --against .git#branch=main with FILE, WIRE_JSON, and PACKAGE rule sets to block field removals and field-number changes in .proto files. Integrating buf-breaking-action into GitHub Actions PR gates.

  • Great Expectations v1 Checkpoint authoringWorking

    Building GX Core v1.x Expectation Suites and Checkpoints that enforce freshness, completeness, and value-range expectations. Wiring Checkpoints as Airflow task gates that fail the DAG and emit Data Docs HTML reports on breach.

  • SodaCL checks for freshness, completeness, and accuracy SLOsWorking

    Writing SodaCL YAML checks that mirror ODCS slaProperties blocks, specifying thresholds such as freshness < 2h and completeness > 99%. Triggering Soda Core 3.x scans from Airflow and surfacing breach alerts.

  • datacontract-cli code generation pipelineWorking

    Using datacontract-cli export to generate dbt schema.yml, Great Expectations Expectation Suite JSON, and Avro schema from a single ODCS contract YAML. Writing Makefile targets and CI jobs that fail when generated artifacts drift from the contract source.

  • dbt Mesh cross-project versioned model coordinationWorking

    Configuring producer and consumer dbt projects with cross-project ref() pointing to versioned models. Managing the v1-to-v2 deprecation workflow including deprecation_date, hard-delete timing, and consumer migration log warnings.

  • Backstage catalog-info.yaml for data contract discoverabilityWorking

    Authoring catalog-info.yaml entities that link to ODCS contract YAMLs and render schema, SLO, owner, and deprecation timeline in Backstage TechDocs. Registering data product entities so consumers can resolve contract ownership without Slack escalations.