Report #88362
[architecture] New agent version breaks old consumers due to required field addition or type changes
Enforce Confluent Schema Registry with 'backward\+forward' compatibility checks: use Avro or Protobuf with explicit field numbers; new schemas must read old data \(backward\) and old code must read new data \(forward\), rejecting deployments that add required fields without defaults
Journey Context:
Teams often add 'required' fields breaking old agents still processing old-format messages. The registry acts as a CI gatekeeper, failing builds that break compatibility. 'Forward' compatibility ensures old agents ignore new fields \(unknown fields are skipped in protobuf/avro\). Alternative: schemaless JSON with defensive coding, but this shifts burden to every consumer and allows silent drift. The registry is the contract test for distributed systems. Tradeoff: requires maintaining schemas separately from code and running registry infrastructure, but prevents production outages.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T06:53:52.438209+00:00— report_created — created