Skip to main content
Customers

How Booksy runs its event-driven architecture from EventCatalog

Booksy is a booking and business platform for beauty and wellness. As its engineering team moves from a monolith to event-driven services, EventCatalog is where every event starts.

BooksyEventCatalog

1 merge request

to consume an event, with access and a typed client

Every event

gets a generated, typed Python library

1 catalog

for events, schemas, access and event standards

CHALLENGE

Booksy is breaking up a monolith into event-driven services. The team had seen this go wrong before: every team uses Kafka differently, docs drift, and a consolidation project follows years later.

SOLUTION

Booksy made EventCatalog the source of truth. Engineers define events and Avro schemas in the catalog, and CI generates typed libraries, schema registry entries and Kafka access from it.

Write it down and it will be so​

Most teams document a system after they build it. Starting fresh, Booksy did the opposite: an event exists when it's in EventCatalog.

Booksy documents each event as a Markdown file, with its Avro key and value schemas stored alongside it. They model the legacy monolith with systems, and keep their event standards (how to document events and services, naming conventions and how to work with the catalog) in custom docs, right next to the events they describe.

The documentation defines what the system is, rather than the system defining what the documentation is.

Merlin Webster
Merlin WebsterPrincipal Engineer, Booksy

One merge request, everything provisioned​

EventCatalog fits into many different workflows. Most teams use it to document the architecture they already have. Booksy uses it the other way round: the catalog is where they author their events and architecture, and everything else is provisioned from it.

Every change is a merge request to the catalog. A Python tool reads the catalog through the EventCatalog SDK and checks Booksy's conventions, including rules that span the catalog, such as a service belonging to one domain.

When the checks pass, CI generates a typed Python publisher and consumer for each event, registers the schemas and plans the Terraform for Kafka access. To consume an event, an engineer adds it to their service in the catalog, the event's owners approve, and access is granted on merge.

Engineers spend their time on the product. How to publish and consume an event is solved once, in the generated libraries.

The promise is: if you document things properly, you get given the libraries and infrastructure that do the things you documented.

Merlin Webster
Merlin WebsterPrincipal Engineer, Booksy

An architect in every merge request​

Like many engineering teams, Booksy is rethinking its software development lifecycle around AI. Design documents now come before code, and AI agents review every change against the team's standards. EventCatalog is part of that process for event-driven work, because it's where the event standards and the architecture they apply to are written down.

When a merge request touches events, Booksy's in-house AI review agent reads the event standards from the catalog. It reviews event design and domain modelling, and skills such as claim a domain interview the engineer and update the catalog for them. The skills also run on engineers' machines, so code meets the standard before review.

Drift that never builds up​

Booksy is introducing domain-driven design and event-driven architecture at the same time. EventCatalog makes both concrete: engineers browse and search real domains, services and events, and adoption across engineering has been positive.

The biggest saving is still ahead. From Merlin's experience at previous companies, drift usually sets in 6 to 12 months into an event-driven rollout, once every team is publishing events and nobody can find the data. Because Booksy's catalog defines the system rather than describing it, the two can't drift apart.

Want your team featured?

Tell us how your team uses EventCatalog and we'll write it up with you.