Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

API & Contract Evolution

Evolve service APIs and event schemas without breaking consumers, using compatibility rules, contract tests and managed deprecation.

Advanced1 roadmap

3 objectives 6 steps about 120 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Classify API and schema changes as backward-compatible, forward-compatible or breaking for JSON, Protobuf and Avro payloads.
  • Ship a breaking change without coordinated deployments using expand-and-contract, versioning and a published deprecation and sunset schedule.
  • Set up consumer-driven contract tests and schema-compatibility checks that run in CI.

Lesson plan

6 steps, about 120 min · 0 of 5 lessons available so far

  1. Compatibility rules for JSON, Protobuf and Avro Concept · 20 min · coming later
  2. Tolerant readers and what they cost Concept · 15 min · coming later
  3. Expand, migrate, contract: renaming a field in production Worked example · 25 min · coming later
  4. Consumer-driven contracts and schema checks in CI Lab · 30 min · coming later
  5. Versioning, deprecation and sunset policies Concept · 15 min · coming later
  6. Contract change check Knowledge check · 6 questions

Practise it

Between two services you control, add a consumer-driven contract test and a schema-compatibility check to CI, then ship a field rename through expand-and-contract with no failed contract run and no consumer redeploy forced.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.