Skip to main content

2 posts tagged with "EDA"

View All Tags

Schema registry vs Architecture Catalog

· 7 min read

A schema registry stores the contract: the shape of an event or message. An architecture catalog tells you how that contract fits the system: who produces it, who consumes it, which domain it belongs to, and what else breaks if you change it.

You often want both. A registry without a catalog is a drawer of schemas with no map. A catalog without schemas is a map with no contracts.

A schema registry shown as a filing cabinet of JSON Schema, Avro, and Protobuf files, versus an architecture catalog shown as a map of services around an OrderCreated eventA schema registry files the contract. An architecture catalog maps how that contract is used.

Introducing query messages for EventCatalog

· 4 min read

;

In many distributed architectures, domains and services communicate through different types of messages, typically categorized as events, commands, and queries.

EventCatalog now includes support for documenting queries, allowing you to clearly outline which queries a service accepts and which it invokes. Queries are often seen in protocols such as HTTP and gRPC.