Grokking Kafka and Event-Driven Architecture
Vote

0% completed

​

Schema Changes

A product catalog service publishes ProductUpdated to the topic product-events whenever a product changes. A developer decides that title is a better field name than name, and the next release publishes the new name:

publish(producer, "SKU-7731", "{\"sku\":\"SKU-7731\",\"name\":\"Trail Shoe\",\"priceCents\":8900}"); // Version 2 renamed "name" to "title". The broker stores it like any other bytes. publish(producer, "SKU-7732", "{\"sku\":\"SKU-7732\",\"title\":\"Rain Jacket\",\"priceCents\":12900}");

Two services read the topic with the same Java class, which still has a

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content