Schema registry
A catalog that stores the format of each message or event type, so everyone reads it the same way.
Example
With 50 event types, the schema registry says «deposit» has 2 fields: account and amount.
Test yourself: Schema registry
Event sourcing
The «deposit» event changed format: it used to have 2 fields and now has 3. What problem does that cause with event sourcing?
Old events aren't edited, so thousands keep 2 fields and new ones have 3. The system must read both formats; that's why a schema registry is needed.
0/1
â–¶ Play