Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-schema-registry

Schema Registry Internals (Avro/Protobuf IDs & Compatibility Gates)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Schema Registry Internals (Avro/Protobuf IDs & Compatibility Gates) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-schema-registry/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-schema-registry)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-schema-registry)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-schema-registry" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Schema Registry Internals (Avro/Protobuf IDs & Compatibility Gates) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Kafka Producers & Cons"]
  n1_1["Registry REST API"]
  n2a_2["Compatibility Engine"]
  n2b_3[("Client Schema Cache")]
  n3_4[("Compact Kafka Topic")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Get/Reg ID · HTTPS"| n1_1
  n1_1 -->|"2a. Check diff · In-Proc"| n2a_2
  n1_1 -.->|"2b. Cache ID · RAM"| n2b_3
  n2a_2 -->|"3a. Persist · Kafka"| n3_4
  n2b_3 -->|"3b. Sync · Control"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Kafka Producers & ConsSTATELESS
    Typed Avro/Protobuf events
  • Registry REST APISTATELESS
    Register & fetch schema by ID
  • Compatibility EngineSTATELESS
    Backward / Forward / Full rule
  • Client Schema CacheSTATEFUL
    Local ID->Schema RAM map
  • Compact Kafka TopicSTATEFUL
    `_schemas` durable store
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Kafka Producers & Cons → Registry REST API (Get/Reg ID)[HTTPS]
  2. Registry REST API → Compatibility Engine (Check diff)[In-Proc]
  3. Registry REST API → Client Schema Cache (Cache ID)[RAM]
  4. Compatibility Engine → Compact Kafka Topic (Persist)[Kafka]
  5. Client Schema Cache → Compact Kafka Topic (Sync)[Control]
  6. Compact Kafka Topic → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →