Загрузка...

Simple patterns for events schema versioning

Events (schema) versioning is a boogeyman for people learning Event Sourcing. It's a spooky tale told at the campfire. There’s a truth in it, as migrations are always challenging.

As time flows, the events’ definition may change. Our business is changing, and we need to add more information. Sometimes, we have to fix a bug or modify the definition for a better developer experience.

Migrations are always challenging, even in relational databases. I won’t tell you that events versioning is easy, but I’ll show you that it can be simple.

In this talk I showed simple techniques that should take you far enough in practice. You'll learn both the big picture and get our hands dirty in code.

I’m sure that after this recording, the common scenarios won’t be too scary for you.

Read more in: https://event-driven.io/en/simple_events_versioning_patterns/

See code samples:
- C# - https://github.com/oskardudycz/EventSourcing.NetCore/tree/main/Sample/EventsVersioning
- Java - https://github.com/oskardudycz/EventSourcing.NetCore/tree/main/Sample/EventsVersioning
- TypeScript - https://github.com/oskardudycz/EventSourcing.NodeJS/tree/main/samples/eventsVersioning

Видео Simple patterns for events schema versioning канала Oskar Dudycz
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять