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
[](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_5COMPONENT STACK (6)
- Kafka Producers & ConsSTATELESSTyped Avro/Protobuf events
- Registry REST APISTATELESSRegister & fetch schema by ID
- Compatibility EngineSTATELESSBackward / Forward / Full rule
- Client Schema CacheSTATEFULLocal ID->Schema RAM map
- Compact Kafka TopicSTATEFUL`_schemas` durable store
- Downstream & OTelSTATELESSConsumers, metrics & SLOs
REQUEST & DATA FLOW (6)
- Kafka Producers & Cons → Registry REST API (Get/Reg ID)[HTTPS]
- Registry REST API → Compatibility Engine (Check diff)[In-Proc]
- Registry REST API → Client Schema Cache (Cache ID)[RAM]
- Compatibility Engine → Compact Kafka Topic (Persist)[Kafka]
- Client Schema Cache → Compact Kafka Topic (Sync)[Control]
- Compact Kafka Topic → Downstream & OTel (Emit /)[OTLP/API]